redcomponent / teststatistics
用于测量您测试性能的Codeception扩展
v2.2
2016-04-27 10:28 UTC
Requires (Dev)
- codeception/codeception: @dev
This package is auto-updated.
Last update: 2024-09-09 12:10:08 UTC
README
请注意,此仓库已停用。社区可以自由发送更新,我们将乐意处理,但redCOMPONENT不再更新到最新的Codeception版本,因为它过去5年未维护。
用于测量您测试性能的Codeception扩展
运行您的测试后,您将看到测试的性能报告
Tests Performance times
-----------------------------------------------
tagCest::create 6s
tagCest::edit 15s
tagCest::delete 3s
Slow Steps (Steps taking more than 3s)
-----------------------------------------------
I click button 6s
安装
将teststatistics添加到您的composer.json中
"require-dev": { ... "redcomponent/teststatistics": "dev-master",
使用方法
简单地将以下示例中的底部行添加到您的codeception.yml扩展中
actor: Tester paths: tests: tests log: tests/_output data: tests/_data helpers: tests/_support settings: bootstrap: _bootstrap.php colors: true memory_limit: 1024M extensions: enabled: [Codeception\Extension\Teststatistics]