jarnaiz / behat-junit-formatter
Behat 3 JUnit xml formatter
Installs: 4 996 296
Dependents: 7
Suggesters: 0
Security: 0
Stars: 16
Watchers: 2
Forks: 21
Open Issues: 3
Requires
- php: >=5.3.0
- behat/behat: ~3.0
This package is not auto-updated.
Last update: 2024-12-21 20:13:50 UTC
README
Prerequisites
This extension requires:
- PHP 5.3.x or higher
- Behat 3.x or higher
Install with composer:
$ composer require --dev jarnaiz/behat-junit-formatter
Basic usage
Activate the extension by specifying its class in your behat.yml
:
# behat.yml default: suites: ... extensions: jarnaiz\JUnitFormatter\JUnitFormatterExtension: filename: report.xml outputDir: %paths.base%/build/tests ...
Be sure to call behat with the formatter:
behat -f junit
Configuration
filename
- filenameoutputDir
- dir to be created filename
you also could use JARNAIZ_JUNIT_FILENAME and JARNAIZ_JUNIT_OUTPUTDIR env variables
Issue Submission
Feel free to Create a new issue.
Thanks to
Thanks to emuse html extension that inspired me to created this one.