https://github.com/bovigo/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.
https://github.com/bovigo/vfsStream
filesystem php testing vfsstream
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/bovigo/vfsStream
- Owner: bovigo
- License: bsd-3-clause
- Created: 2011-05-19T13:30:47.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T18:46:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T19:23:58.719Z (over 1 year ago)
- Topics: filesystem, php, testing, vfsstream
- Language: PHP
- Homepage:
- Size: 1.29 MB
- Stars: 1,420
- Watchers: 41
- Forks: 102
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-projects - VFS Stream - A virtual filesystem stream wrapper for testing. (PHP / Testing)
- awesome-php-cn - VFS Stream - 一个虚拟文件系统流包装器进行测试. (目录 / 测试 Testing)
- awesome-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
- awesome-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
- awesome-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
- awesome-php - VFS Stream - 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 (BSDv3) (Table of Contents / Globalization)
- fucking-awesome-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
README
# vfsStream
 [](https://coveralls.io/github/bovigo/vfsStream) [](https://packagist.org/packages/mikey179/vfsStream) [](//packagist.org/packages/mikey179/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.
### Documentation
See the [wiki](https://github.com/bovigo/vfsStream/wiki).
Also you might want to check [vfsStream examples](https://github.com/bovigo/vfs-stream-examples).