redcomponent / teststatistics
Codeception Extension to measure the performance of your tests
Installs: 240 229
Dependents: 2
Suggesters: 0
Security: 0
Stars: 9
Watchers: 7
Forks: 6
Open Issues: 3
Requires (Dev)
- codeception/codeception: @dev
This package is auto-updated.
Last update: 2024-11-09 12:26:49 UTC
README
Please notice this repository is discountinued. Community is free to send updates and they will be happily processed, but redCOMPONENT is no longer updating to latest versions of Codeception as it has not been in maintenance for the past 5 years.
Codeception Extension to measure the performance of your tests
After running your tests you will see a Performance report of your tests:
Tests Performance times
-----------------------------------------------
tagCest::create 6s
tagCest::edit 15s
tagCest::delete 3s
Slow Steps (Steps taking more than 3s)
-----------------------------------------------
I click button 6s
Installation
Add teststatistics to your composer.json
"require-dev": { ... "redcomponent/teststatistics": "dev-master",
Useage
Simply add to your extensions the line at the bottom in the following example in your 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]