Skip to main content

Generate Cucumber TestNG reports using Net Masterthought

This library provides pretty html reports for Cucumber. It works by generating html from the cucumber json file. This is a Java report publisher primarily created to publish cucumber reports on the Jenkins build server. It publishes pretty html reports with charts showing the results of cucumber runs.

It has been split out into a standalone package so it can be used for Jenkins and maven command line as well as any other packaging that might be useful. Generated report has no dependency so can be viewed offline.

Step 1: Add following dependency to your pom.xml. You can check for the latest version here

    <version>(check version above)</version>

Step 2: Add the following plugin in pom.xml


                <projectName>Project Name</projectName>

Step 3: Check your cucumber plugin options configured like this

plugin= {"pretty","html:target/site/cucumber-pretty","json:target/cucumber/cucumber.json"}

Step 4: Execute project using mvn test command

Step 5: Refresh your project and check inside \target\Report\cucumber-reports\cucumber-html-reports that report generated with name feature-overview.

Video Tutorial


Elix is a premium wordpress theme for portfolio, freelancer, design agencies and a wide range of other design institutions.