Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kozhevnikov/cucumber-pretty

Cucumber.js Pretty Formatter
https://github.com/kozhevnikov/cucumber-pretty

cucumber-js

Last synced: 28 days ago
JSON representation

Cucumber.js Pretty Formatter

Awesome Lists containing this project

README

        

# Cucumber Pretty

[![npm][version]][npm]
[![npm][downloads]][npm]

[npm]: https://www.npmjs.com/package/cucumber-pretty
[version]: https://img.shields.io/npm/v/cucumber-pretty.svg
[downloads]: https://img.shields.io/npm/dm/cucumber-pretty.svg

Custom Cucumber.js pretty formatter implementing event protocol for versions 3 to 6.

Official Cucumber.js pretty formatter implementing [message protocol](https://github.com/cucumber/common/tree/main/messages) for version 7 and later is at [@cucumber/pretty-formatter](https://www.npmjs.com/package/@cucumber/pretty-formatter).

- For Cucumber.js v1 and v2 use `-f pretty`
- For Cucumber.js v3, v4, and v5 install `[email protected]` and use `-f node_modules/cucumber-pretty`
- For Cucumber.js v6 install `cucumber-pretty@6` and use `-f node_modules/cucumber-pretty`
- For Cucumber.js v7 install `@cucumber/pretty-formatter` and use `-f @cucumber/pretty-formatter`

Built with 🥒 by [Ilya Kozhevnikov](http://kozhevnikov.com/).

## Use

```bash
npm i cucumber-pretty
cucumber-js -f node_modules/cucumber-pretty
```

## References

- https://github.com/cucumber/cucumber-js/blob/master/docs/cli.md#formats
- https://github.com/cucumber/cucumber-js/blob/master/docs/custom_formatters.md

## Dark

## Light