testcafe-reporter-cucumber-json
Advanced tools
Changelog
[6.3.0] - 2021-07-21
feat(reporter): be able to set reporter options through environment variables.
--reporter-json-folder
, --reporter-app-name
and --reporter-app-version
options as variable environments:process.env['--reporter-json-folder'] = 'my-custom-folder';
process.env['--reporter-app-name'] = 'My App';
process.env['--reporter-app-version'] = 'x.y.z';
// then start tests via the TestCafé Runner
Changelog
[6.2.0] - 2020-09-05
feat(reporter): be able to set cli options through configuration file
testcafe-reporter-cucumber-json.json
configuration file to set the --reporter-json-folder
, --reporter-app-name
and --reporter-app-version
cli options: add or edit the args
section in the json configuration file:"args": {
"appName": false,
"appVersion": false,
"reportFolder": "my-custom-folder"
}
Every property in args
is optional. If you just want to only setup a custom folder:
"args": {
"reportFolder": "my-custom-folder"
}
Note: The command-line options will take precedence over the configuration file.
Changelog
[6.1.1] - 2020-08-06
Changelog
[6.1.0] - 2020-07-23
feat(reporter): be able to display the date and time of tests execution in the final HTML report.
To enable this feature you must add displayReportTime: true
to the options
object passed to the HTML generator.
Changelog
[6.0.7] - 2020-07-16