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.
- vfsstream
- php
- testing
- filesystem
82,088 visible repositories in the index
1–2 of 2 · Most stars
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.
Mock built-in PHP functions (e.g. time(), exec() or rand())