The directories test/modules/standard/FileSystem/ and test/modules/standard/Path/ contain many tests of the functions and methods defined in those libraries. However, there are still plenty of edge cases that are not covered.
I intend to populate this issue with places that I think testing is lacking. This is intended for my own bookkeeping, but others are welcome to explore and add tests.
FileSystem:
[ ] chdir
only a couple of tests. Could probably do with more multilocale v. single locale tests
[ ] chmod
is a little too linear, should have some out of order tests
[ ] copy
need some tests when the destination is a directory, after that support is added
[ ] cwd
see chdir
[ ] exists?
[ ] findfiles?
[ ] getGID
definitely gotta be missing some edge cases
[ ] getMode
testing is too linear, should have some out of order tests
[ ] getFileSize
[ ] getUID
the tricky part about this and getGID is getting the directory to be in a state start_test can use and clean up in order to exercise the edge cases I am missing
The directories
test/modules/standard/FileSystem/
andtest/modules/standard/Path/
contain many tests of the functions and methods defined in those libraries. However, there are still plenty of edge cases that are not covered.I intend to populate this issue with places that I think testing is lacking. This is intended for my own bookkeeping, but others are welcome to explore and add tests.
FileSystem:
... (more to follow)