cucumber-html

Cross platform HTML formatter for all implementations of Cucumber

Usage no npm install needed!

<script type="module">
  import cucumberHtml from 'https://cdn.skypack.dev/cucumber-html';
</script>

README

build status Cucumber-HTML is a cross-platform HTML formatter for all the Cucumber implementations. It's currently only used by Cucumber-JVM and Cucumber.js, but may be used by other implementations later.

Prerequisites

The formatter generates HTML that conforms to the HTML5 specification, so you need a modern browser to see the results.

Generating PDF

This formatter replaces Cucumber's old PDF formatter. You can easily turn a HTML report into a PDF with the excellent wkhtmltopdf:

wkhtmltopdf cucumber-report.html cucumber-report.pdf

Release process

  • Make sure pom.xml has a X.Y.Z-SNAPSHOT version
  • Make sure package.json has a X.Y.Z version

Now release:

make release