Convert Cucumber.js json result file to XML Junit format. Unlike many similar libraries keeps Scenario = Testcase, not Step = Testcase.
To install the latest version, run:
npm install cucumber-junit-convert --save
const cucumberJunitConvert = require('cucumber-junit-convert');
const options = {
inputJsonFile: '<filename>.json',
outputXmlFile: '<filename>.xml',
featureNameAsClassName: true // default: false
}
cucumberJunitConvert.convert(options);
bugfixing Feature name as the JUnit className
- add option to use the Feature name as the JUnit className:
featureNameAsClassName
- add embeddings support
- fixed znevrly#5
- test cases are marked as skipped when at least one step was pending or skipped, and there was no failure
- update dependencies
- fix typo
- Add classname to testcase
- Initial release