CucumberJS JSON Reporter
wdio-cucumberjs-json-reporter is a 3rd party package, for more information please see GitHub | npm
A WDIO reporter that creates CucumberJS JSON files for WebdriverIO v8 and up.
What does it do
This reporter will generate a Cucumber JSON file for each feature that is being tested. The JSON file can be used with whatever report you want to use like for example multiple-cucumber-html-reporter.
It will also add metadata about the running instance to the feature file and last but not least, it will give you the opportunity to add attachments to the JSON output.
Installation
The easiest way is to keep wdio-cucumberjs-json-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-cucumberjs-json-reporter": "^5.0.0"
}
}
You can simple do it by:
npm install wdio-cucumberjs-json-reporter --save-dev