Skip to content

Reporter for generating jUnit xml reports based on cucumbers json report

License

Notifications You must be signed in to change notification settings

i02bahip/cucumber-junit-vsts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-junit-vsts

Converts CucumberJS JSON output into JUnitXML for VSTS.

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

Alternatively you can manually add it to your package.json file:

{
  "devDependencies" : {
    "cucumber-junit-vsts": "latest"
  }
}

then install with:

$ npm install --dev

Run

cucumber-junit-vsts should be appended to your existing Cucumber.JS commands

The following options are supported by lib/cucumber_junit:

  • strict - if true, pending or undefined steps will be reported as failures
  • indent - passed to the [XML formatter][XML], defaults to 4 spaces
  • stream - passed to the [XML formatter][XML] to return the result as a stream
  • declaration - passed to the [XML formatter][XML]

License

MIT [XML]: https://www.npmjs.com/package/xml#options

About

Reporter for generating jUnit xml reports based on cucumbers json report

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%