Testing / Cucumber Interview Questions
What is a Cucumber HTML report?
Cucumber can generate a self-contained HTML report summarizing a test run: which scenarios passed or failed, the specific step that caused a failure, execution timing, and any attached evidence like screenshots, configured via the cucumber.plugin setting.
@ConfigurationParameter( key = "cucumber.plugin", value = "pretty, html:target/cucumber-report.html, json:target/cucumber.json" )
Beyond the built-in HTML formatter, third-party reporting plugins (like Masterthought's Cucumber Reports or Allure) commonly consume Cucumber's JSON output to produce richer, more navigable reports with trend charts, tag-based filtering, and historical comparisons across runs, which the basic built-in HTML report doesn't provide on its own.
More Related questions...