multiple-cucumber-html-reporter
Advanced tools
Comparing version 1.0.1 to 1.1.0
CHANGELOG | ||
========= | ||
<a name="1.1.0"></a> | ||
## [1.1.0](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.0.1...v1.1.0) (2017-09-22) | ||
### Features | ||
* **feature:** add option to disable the log when a report has been generated | ||
* **feature:** defaulted the dropdown to 50 and updated the options to `[50, 100, 150, "All"]` | ||
* **feature:** added *created by* to templates | ||
<a name="1.0.1"></a> | ||
@@ -5,0 +14,0 @@ ## [1.0.1](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.0.0...v1.0.1) (2017-09-12) |
@@ -49,2 +49,3 @@ 'use strict'; | ||
const saveCollectedJSON = options.saveCollectedJSON; | ||
const disableLog = options.disableLog; | ||
@@ -108,3 +109,5 @@ fs.ensureDirSync(reportPath); | ||
console.log(chalk.blue(`\n | ||
/* istanbul ignore else */ | ||
if (!disableLog) { | ||
console.log(chalk.blue(`\n | ||
===================================================================================== | ||
@@ -114,7 +117,4 @@ Multiple Cucumber HTML report generated in: | ||
${path.join(reportPath, INDEX_HTML)} | ||
Tnx for using Multiple Cucumber HTML report | ||
Grtz wswebcreation | ||
=====================================================================================\n`)); | ||
} | ||
@@ -121,0 +121,0 @@ /* istanbul ignore if */ |
{ | ||
"name": "multiple-cucumber-html-reporter", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Generate beautifull cucumberjs reports for multiple instances (browsers / devices)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -37,2 +37,7 @@ Multiple Cucumber HTML Reporter | ||
## Usage | ||
> **If you are using Protractor I would advise you to use [protractor-multiple-cucumber-html-reporter-plugin](https://github.com/wswebcreation/protractor-multiple-cucumber-html-reporter-plugin).** | ||
> **It privides `multiple-cucumber-html-reporter` and some nice integration features that will make using Protractor + CucumberJS 1/2/3 nicely integrate with only a few lines of code.** | ||
Multiple Cucumber HTML Reporter transforms the Cucumber JSON output to a beautiful report. In order to let this happen add the piece of code that is placed below to CucumberJS `AfterFeatures`-hook. | ||
@@ -97,2 +102,17 @@ | ||
### `disableLog` | ||
- **Type:** `boolean` | ||
- **Mandatory:** No | ||
- **Default:** `false` | ||
This will disable the log so will **NOT** see this. | ||
```shell | ||
===================================================================================== | ||
Multiple Cucumber HTML report generated in: | ||
/Users/wswebcreation/multiple-cucumber-html-reporter/.tmp/index.html | ||
======================================================================== | ||
``` | ||
### `metadata` | ||
@@ -99,0 +119,0 @@ - **Type:** `JSON` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
80216
785
276