[wp-trac] [WordPress Trac] #57774: Add some initial PHPUnit tests for `WP_Filesystem_Direct`
WordPress Trac
noreply at wordpress.org
Tue Feb 21 00:22:58 UTC 2023
#57774: Add some initial PHPUnit tests for `WP_Filesystem_Direct`
----------------------------+-----------------------
Reporter: costdev | Owner: costdev
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.2
Component: Filesystem API | Version: 2.5
Severity: normal | Keywords: has-patch
Focuses: |
----------------------------+-----------------------
This is a tests-only ticket.
`WP_Filesystem_Direct` is, by far, the most used filesystem abstraction
class.
While some PHPUnit tests exist for a `WP_Filesystem_MockFS` class, this
ticket aims to add PHPUnit tests for the `WP_Filesystem_Direct` class
itself.
The other filesystem abstraction classes, `WP_Filesystem_FTPext`,
`WP_Filesystem_ftpsockets` and `WP_Filesystem_SSH2`, do not have PHPUnit
test runner configurations. While in future, we may reuse many of the same
tests across filesystem abstraction classes, this ticket specifically
targets `WP_Filesystem_Direct`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57774>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list