-
Notifications
You must be signed in to change notification settings - Fork 102
Home
Frank Kleine edited this page Oct 8, 2019
·
21 revisions
Welcome to vfsStream
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.
Please note: Starting with version 1.0.0 the namespace of classes in vfsStream is org\bovigo\vfs
. For the sake of simplicity this namespace part is omitted in any of the following documentation pages throughout the text. Versions before 1.0.0 don't have a namespace.
- Requirements
- Download and install vfsStream
- Learn from an example
- Support for file modes, users and groups
- Example for using file mode support
- Create complex directory structures
- Copy directory structure from file system
- Inspecting the directory structure
- Using quota limit
- Mocking large files
- Block devices
- Known issues
The repository vfsStream-examples features some more code examples for the topics documented above.
See vfsStream team.
It also contains contributions from various developers.
vfsStream is published under the BSD license.