chartinger / behat-twig-report-extension
Create Behat 3 test reports with Twig templates
Installs: 11 515
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 4
Open Issues: 0
Type:behat-extension
Requires
- php: >=5.3.2
- behat/behat: ~3.0.0@dev
- twig/twig: 1.*
Requires (Dev)
- phpunit/phpunit: ~3.7.28
- symfony/process: ~2.1
This package is not auto-updated.
Last update: 2020-02-07 15:54:51 UTC
README
Please use alternatives like https://github.com/dutchiexl/BehatHtmlFormatterPlugin
behat-twig-report-extension
Create Behat 3 test reports with Twig templates
About
This extension provides an easy way to create reports of your test runs. It uses Twig for templating.
It term "report" in the extension name is deliberate as the output file will be created after all tests are processed.
An example can be found here
Installation
In your composer.json
add
{ "require": { ... "chartinger/behat-twig-report-extension": "*@dev" } }
and update your dependencies
Usage
To activate this extension add this to your behat.yml
default: extensions: chartinger\Behat\TwigReportExtension\Extension: output: file: ./output/index.html
Configuration
You can confgure the templates as well as the output file.
default: extensions: chartinger\Behat\TwigReportExtension\Extension: templates: dir: /path/to/templates file: yourtemplate.twig output: file: ./output/index.html
Known Issues / Limitations
- No output of exact errors