Skip to content

khanali21/cucumber-junit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-junit

wercker status

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

License

MIT © St. John Johnson

About

Cucumber.js JSON to JUnitXML converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%