Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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 (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T18:46:22.000Z (3 months ago)
- Last Synced: 2024-10-29T19:23:58.719Z (about 1 month 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-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
- awesome-projects - VFS Stream - A virtual filesystem stream wrapper for testing. (PHP / Testing)
- awesome-php - VFS Stream - A virtual filesystem stream wrapper for testing. (Table of Contents / Testing)
- awesome-php-cn - VFS Stream - 一个虚拟文件系统流包装器进行测试. (目录 / 测试 Testing)
README
# vfsStream
![Tests](https://github.com/bovigo/vfsStream/workflows/Tests/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/bovigo/vfsStream/badge.svg)](https://coveralls.io/github/bovigo/vfsStream) [![Latest Stable Version](https://poser.pugx.org/mikey179/vfsStream/version.png)](https://packagist.org/packages/mikey179/vfsStream) [![Latest Unstable Version](https://poser.pugx.org/mikey179/vfsStream/v/unstable.png)](//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).