1 | # Cucumber.js Pretty Formatter
|
2 |
|
3 | *Cucumber.js 3 pretty formatter based on event protocol*
|
4 |
|
5 | # WORK IN PROGRESS
|
6 |
|
7 | ## Usage
|
8 |
|
9 | ```bash
|
10 | npm install cucumber-pretty --save-dev
|
11 | cucumber-js test --format node_modules/cucumber-pretty
|
12 | ```
|
13 |
|
14 | ## Options
|
15 |
|
16 | Pretty format options can be passed via `pretty` property in addition to global options such as `colorsEnabled`.
|
17 |
|
18 | ```bash
|
19 | --format-options '{ "pretty": { "summary": false } }'
|
20 | ```
|
21 |
|
22 | | Name | Default | Description|
|
23 | | --- | --- | --- |
|
24 | | passed | false | Log passed status after step is finished |
|
25 | | summary | true | Log summary after run is finished |
|
26 |
|
27 | ## References
|
28 |
|
29 | - https://github.com/cucumber/cucumber-js/blob/master/docs/cli.md#formats
|
30 | - https://github.com/cucumber/cucumber-js/blob/master/docs/custom_formatters.md
|
31 | - https://docs.cucumber.io/event-protocol/
|