Closed mrded closed 8 years ago
Can you try this?
grunt.initConfig({
cucumberjs: {
options: {
format: 'html',
output: 'path/to/report.html',
theme: 'bootstrap ',
saveJson: true //this will be saved Json as report.json
}
}
});
Is it possible to save json only?
it makes report.html & report.html.json files.
I do not think it generates only JSON files. This module generates pretty HTML report for cucumber. JSON file is in the similar format of cucumberjs, e.g. cucumberjs {options} -f json | tee report.json
It would make sense to choose a format you want to output.
since cucumberjs
itself will output json
I don't see the need for us to support a json
only option. Closing.
Following settings don't create
my_report.json
file with report.