php常用类库-开发调试

mikey179/vfsstream

composer 

http://packagist.p2hp.com/packages/mikey179/vfsstream
github

https://github.com/bovigo/vfsStream
phpunit 文档说明 - 测试对文件系统进行模拟

https://phpunit.readthedocs.io/zh_CN/latest/test-doubles.html?highlight=vfsStream#test-doubles-mocking-the-filesystem

单元测试中经常使用,是虚拟文件系统的流覆盖。用来在单测中mock file system,避免对文件系统的直接操作


phpunit/phpunit

github

https://github.com/sebastianbergmann/phpunit

The PHP Unit Testing framework


你可能感兴趣的:(php)