padraic/phpunit-extensions
最新稳定版本:1.1.0
Composer 安装命令:
composer require --dev padraic/phpunit-extensions
包简介
Collection of Listeners to log and manipulate test run order
README 文档
README
A collection of extensions intended to allow for:
- Timing of test and testsuite execution
- Filter/Reorder test suites using custom filters
Installation
require: {
"padraic/phpunit-extensions": "~1.0@dev"
}
Configuration
Time Collector Listener
The Time Collector Listener logs timing data on tests and test suites for use by the time dependent filters. You can enable it using the following phpunit.xml snippet showing the listeners XML block.
<listeners> <listener class="\Humbug\Phpunit\Listener\TimeCollectorListener"> <arguments> <object class="\Humbug\Phpunit\Logger\JsonLogger"> <arguments> <string>/path/to/times.json</string> </arguments> </object> </arguments> </listener> </listeners>
统计信息
- 总下载量: 173.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-01-26