cucumber-html-reporter
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -0,1 +1,24 @@ | ||
### 0.2.10 (2016-09-22) | ||
#### Enhancements | ||
* Conditionally hide hidden steps from the report: [PR#120](https://github.com/gkushang/cucumber-html-reporter/pull/20) | ||
* After & Before hooks are hidden on Cucumber JSON file. They will be visible on the report only if it has Info or Screenshot attached to it. | ||
### 0.2.9 (2016-09-08) | ||
#### Enhancements | ||
* Ignore the bad JSON files when consolidating from the JSON Directory: [PR#13](https://github.com/gkushang/cucumber-html-reporter/pull/13) | ||
* Set the option `ignoreBadJsonFile` to `true` as a boolean to ignore the Bad JSON files | ||
#### BugFix | ||
* Fixed the issue when report was breaking with the Cucumber's Doc String: [Issue#14](https://github.com/gkushang/cucumber-html-reporter/issues/14) | ||
### 0.2.8 (2016-08-30) | ||
@@ -2,0 +25,0 @@ |
@@ -106,3 +106,3 @@ 'use strict'; | ||
if (!step.result) { | ||
if (!step.result || step.hidden) { | ||
return 0; | ||
@@ -109,0 +109,0 @@ } |
{ | ||
"name": "cucumber-html-reporter", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "Generates Cucumber HTML reports in three different themes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,2 +16,12 @@ 'use strict'; | ||
this.Before({tags: ['@testPassing']}, function(scenario, callback) { | ||
scenario.attach('this should print Before hook on test report'); | ||
callback(); | ||
}); | ||
this.After({tags: ['@testPassing']}, function(scenario, callback) { | ||
scenario.attach(new Buffer('testBuffer', 'base64'), 'image/png'); | ||
callback(); | ||
}); | ||
this.registerHandler('AfterFeatures', function(features, callback) { | ||
@@ -86,7 +96,7 @@ | ||
assertJsonFile(); | ||
assertJsonDir(); | ||
removeReports(); | ||
assertJsonDir(); | ||
assertJsonFile(); | ||
@@ -93,0 +103,0 @@ callback(); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346362
1663