cucumber-junit-temp
v0.0.1
Published
Cucumber wrapper that converts the JSON output to JUnitXML
Downloads
175
Readme
cucumber-junit
Converts CucumberJS JSON output into JUnitXML for software like Jenkins to read.
Install
cucumber-junit should be added to your test codebase as a dev dependency. You can do this with:
$ npm install --save-dev cucumber-junit
Alternatively you can manually add it to your package.json file:
{
"devDependencies" : {
"cucumber-junit": "latest"
}
}
then install with:
$ npm install --dev
Run
cucumber-junit should be appended to your existing Cucumber.JS commands
$ node_modules/.bin/cucumber-js --format=json | cucumber-junit > output_JUnit.xml