You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
formatters: include html-formatter as a built-in option (#1432)
* add html formatter as dependency
* update run-script to use local install
* add doc
* add as first party formatter in switch
* create our new formatter
* use in formatters test
* changelog, improve doc a bit
* add pre script to make sure we're built
* add concept of an async `finished` method on formatters
* rework so it works
* test html formatter roughly via formatters feature test
* dont need this on the test path now
* whoops missed one
* what even is a computer
* end stream from within formatter finished method except if stdout
* update changelog again
* fix botched merge
Copy file name to clipboardExpand all lines: docs/cli.md
+1
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ If multiple formats are specified with the same output, only the last is used.
45
45
46
46
Built-in formatters
47
47
* message - prints each [message](https://github.com/cucumber/cucumber/tree/master/cucumber-messages) in NDJSON form, which can then be consumed by other tools.
48
+
* html - prints a rich HTML report to a standalone page
48
49
* json - prints the feature as JSON. *Note: this formatter is deprecated and will be removed in the next major release. Where you need a structured data representation of your test run, it's best to use the `message` formatter. For legacy tools that depend on the deprecated JSON format, a standalone formatter is available (see https://github.com/cucumber/cucumber/tree/master/json-formatter).
49
50
* progress - prints one character per scenario (default).
50
51
* progress-bar - prints a progress bar and outputs errors/warnings along the way.
0 commit comments