Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cucumber-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-html-reporter - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

32

CHANGELOG.md

@@ -0,1 +1,33 @@

### 0.2.7 (2016-08-16)
#### Enhancements
* Launch report automatically after test ends
* Pass a flag `launchReport` to the options
``` bash
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);
```
### 0.2.6 (2016-07-29)
#### BugFix
* Fixed the issue where Error messages were not printing on the report.
### 0.2.5 (2016-07-28)

@@ -2,0 +34,0 @@

@@ -9,2 +9,3 @@ 'use strict';

var nodeFs = require('node-fs');
var open = require('open');

@@ -226,4 +227,12 @@ var generateReport = function(options) {

function launchReport() {
if (fs.existsSync(options.output) && (options.launchReport || options.launchReport === 'true')) {
open(options.output);
}
}
if (isValidJsonFile()) {
generateReport(options);
launchReport();
if (callback) {

@@ -230,0 +239,0 @@ callback();

5

package.json
{
"name": "cucumber-html-reporter",
"version": "0.2.6",
"version": "0.2.7",
"description": "Generates Cucumber HTML reports in three different themes",

@@ -51,4 +51,5 @@ "main": "index.js",

"lodash": "^4.13.1",
"node-fs": "^0.1.7"
"node-fs": "^0.1.7",
"open": "0.0.5"
}
}

13

README.md

@@ -41,3 +41,4 @@ cucumber-html-reporter

output: 'test/report/cucumber_report.html',
reportSuiteAsScenarios: true
reportSuiteAsScenarios: true,
launchReport: true
};

@@ -95,2 +96,12 @@

#### `launchReport`
Type: `Boolean`
Automatically launch HTML report at the end of test suite
`true`: Launch HTML report in the default browser
`false`: Do not launch HTML report at the end of test suite
## Tips

@@ -97,0 +108,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc