cwolf / behat-analysis-extension
Behat extension for analysing step usage and suite execution time
v1.0.0
2021-07-29 19:33 UTC
Requires
- php: ^7.3|^8.0
- behat/behat: ^3.0
Requires (Dev)
- phpmd/phpmd: ^2.10
- phpspec/phpspec: ^7.1
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2024-11-19 05:39:30 UTC
README
This extension provides analysis metrics to maintain big and growing behat suites and contexts. It does
- accumulate running times of steps and hooks, allowing to find the slowest parts of your suite
Installation
This extension requires:
- Behat 3.0+
Use composer
-
Run composer with
composer require --dev cawolf/behat-analysis-extension
or define dependencies in your
composer.json
:{ "require-dev": { ... "cawolf/behat-analysis-extension": "*" } }
-
Activate extension by specifying its class in your
behat.yml
:# behat.yml default: # ... extensions: Cawolf\Behat\Analysis: ~
Usage
Run your behat suite as usual:
vendor/bin/behat -s default