bovigo/vfsStream
View on GitHub ↗ ★ 1,439 PHP
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2013-02-08 · latest 2014-07-06
20082026
-
…this project isn't quite there yet, but it should be once a few issues have been ironed out. [1]: https://github.com/mikey179/vfsStream/blob/master/src/main/p... [2]: https://github.com/adlawson/vfs.php/blob/master/src/Logger/P... [3]:…
comment by adlawson · 2014-07-06 · in Show HN: Virtual File System in PHP -
…used that in the past for mocking in unit tests. Does this offer anything more than vfsStream? [1]: https://github.com/mikey179/vfsStream
comment by nubs · 2014-07-06 · in Show HN: Virtual File System in PHP