@CucumberOptions( plugin = { "pretty", "html:target/cucumber-reports.html", "json:target/cucumber.json" } ) public class TestRunner {} Use code with caution. Logs readable text to the console. HTML: Creates a searchable, user-friendly browser report.
: Include the maven-cucumber-reporting plugin. cucumber-report
Best for teams that need "executive-level" visuals and PDF exports. @CucumberOptions( plugin = { "pretty"
Essential if you want to use external tools like Allure later. ☁️ Option 2: Cucumber Reports Service (Cloud) cucumber-report
Filter reports by @Smoke or @Regression to keep results focused.
The report is automatically generated in target/cucumber-html-reports . Extent Reports
Set cucumber.publish.enabled=true in your cucumber.properties file or as an environment variable.