This package provides a custom pretty formatter for Cucumber.js versions 3 to 6, using the event protocol. It is deprecated in favor of @cucumber/pretty-formatter for Cucumber.js v7+. The last stable version is 6.0.1, which supports Cucumber.js v6. It requires explicit path usage in the CLI and has no breaking changes within its supported range. The key differentiator is its compatibility with older Cucumber.js versions while offering a visually enhanced output compared to the built-in formatters.
npm install cucumber-prettyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This example shows how to install and use cucumber-pretty with Cucumber.js v6 from the command line, including the required formatter path.
npm install @cucumber/pretty-formatter and use -f @cucumber/pretty-formatter
Downgrade or upgrade cucumber to v6, or use the appropriate formatter for your version (cucumber-pretty@1.5 for v3-v5, @cucumber/pretty-formatter for v7+).
Use -f node_modules/cucumber-pretty or configure in cucumber.js file with format: ['node_modules/cucumber-pretty'].
Use -f node_modules/cucumber-pretty instead of -f pretty.
Run 'npm install cucumber-pretty@6' with Cucumber.js v6 installed, or for v3-v5 use 'npm install cucumber-pretty@1.5'.
Either downgrade Cucumber.js to v6, or use the appropriate formatter: @cucumber/pretty-formatter for v7, cucumber-pretty@1.5 for v3-v5.