dizzy7 / behat-junit-formatter
Behat 3 JUnit xml formatter
Installs: 1 926
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 22
pkg:composer/dizzy7/behat-junit-formatter
Requires
- php: >=5.3.0
- behat/behat: ~3.0
This package is not auto-updated.
Last update: 2023-08-19 12:06:48 UTC
README
Prerequisites
This extension requires:
- PHP 5.3.x or higher
- Behat 3.x or higher
Install with composer:
$ composer require --dev dizzy7/behat-junit-formatter
Basic usage
Activate the extension by specifying its class in your behat.yml
:
# behat.yml default: suites: ... extensions: dizzy7\JUnitFormatter\JUnitFormatterExtension: filename: report.xml outputDir: %paths.base%/build/tests ...
Configuration
filename
- filename (not used if realtime flag is on)outputDir
- dir to be created filename
you also could use BEHAT_JUNIT_FILENAME and BEHAT_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.