http-interop/http-factory-tests
最新稳定版本:2.3.0
Composer 安装命令:
composer require http-interop/http-factory-tests
包简介
Unit tests for HTTP factories
README 文档
README
To use these unit tests you need to add some config to phpunit.xml.
<phpunit backupGlobals="true"> <testsuites> <testsuite name="Integration tests"> <directory>./vendor/http-interop/http-factory-tests/test</directory> </testsuite> </testsuites> <php> <!-- Fully qualified class names to your classes --> <const name="REQUEST_FACTORY" value="Acme\Factory\RequestFactory"/> <const name="RESPONSE_FACTORY" value="Acme\Factory\ResponseFactory"/> <const name="SERVER_REQUEST_FACTORY" value="Acme\Factory\ServerRequestFactory"/> <const name="STREAM_FACTORY" value="Acme\Factory\StreamFactory"/> <const name="UPLOADED_FILE_FACTORY" value="Acme\Factory\UploadedFileFactory"/> <const name="URI_FACTORY" value="Acme\Factory\UriFactory"/> </php> </phpunit>
统计信息
- 总下载量: 168.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 35
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-14