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:
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