-
Ignore the bad JSON files when consolidating from the JSON Directory: PR#13
- Set the option
ignoreBadJsonFiletotrueas a boolean to ignore the Bad JSON files
- Set the option
- Fixed the issue when report was breaking with the Cucumber's Doc String: Issue#14
-
Generate consolidated report from multiple JSON files: PR#12
- Provide the path of
jsonDirto generate consolidated report,
- Provide the path of
var reporter = require('cucumber-html-reporter');
...
...
var options = {
theme: 'bootstrap',
jsonDir: 'test/reports',
output: 'test/report/cucumber_report.html',
reportSuiteAsScenarios: true,
launchReport: true
};
reporter.generate(options);- Launch report automatically after test ends
- Pass a flag
launchReportto the options
var reporter = require('cucumber-html-reporter');
...
...
var options = {
theme: 'bootstrap',
jsonFile: 'test/report/cucumber_report.json',
output: 'test/report/cucumber_report.html',
reportSuiteAsScenarios: true,
launchReport: true
};
reporter.generate(options);- Fixed the issue where Error messages were not printing on the report.
- trim the text to be printed on report
- Published gkushang#10 Set charset as utf-8
- Fixes gkushang#7
- Recursively create HTML report directory if does not exists
- Remove outdated chai-fs depedency and use chai-should assertions
- Lighter the background color or Scenario attachments
- Screenshot attachment support for Cucumber release >= @1.2.0 (https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md#bug-fixes-1)
- Format feature descriptions on report
- Add overflow scroll bar for the bigger data-table
- print error messaged in the pre
-
Show feature description on report
-
Updated README
- Fix bug when cucumber error message has kind of html tags as a string, e.g. is not defined.
-
Using
pathinstead of separators to make platform agnostic -
Updated tests
hooks -
README updated with the instructions on how to integrate reporter to the cucumber hooks
-
Fixed a bug in template path
-
README updated
-
Tooltip for Scenarios or Features in the HEADER based on reportSuiteAsScenarios flag
-
Add an optional
callbackfor thegenerate(options, callback)function -
Report
pendingsteps in scenarios for bootstrap & foundation themes -
Refactored and added more tests & validations
-