mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

Installs: 16 561 806

Dependents: 2 294

Suggesters: 5

Stars: 1 181

Watchers: 47

Forks: 95

Open Issues: 20

v1.6.8 2019-10-30 15:31 UTC

README

Build Status Build Status Windows Coverage Status Latest Stable Version Latest Unstable Version

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.

Documentation

See the wiki.

Also you might want to check vfsStream examples.