mikey179/vfsstream

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

Installs: 69 756 259

Dependents: 2 965

Suggesters: 5

Security: 0

Stars: 1 401

Watchers: 41

Forks: 102

Open Issues: 31

v1.6.11 2022-02-23 02:02 UTC

README

Tests 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.