Skip to main content

Extent Reports

Selcukes Extent Reports is used to generate Extent reports for Cucumber JVM.

Features​

  1. Generates Emailable extent report
  2. Full page screenshots attached to report as base64 format
  3. Supports to add JUL based info logs to report

Setup​

Selcukes Extent Reports is primarily used as a Java dependency . We typically use a build tool (such as Maven or Gradle) to resolve the Selcukes Extent Reports dependency.


<dependency>
<groupId>io.github.selcukes</groupId>
<artifactId>selcukes-extent-reports</artifactId>
<version>${selcukes.version}</version>
</dependency>
Selcukes Extent Reports is a transitive Dependency of selcukes-reports.If you are using selcukes-reports,

then ignore adding this dependency explicitly.

If you are using selcukes-testng then refer <<_selcukes_testng, Selcukes TestNG>> for extent report

integration

Usage​

Create extent.properties file in src/test/resources folder [source,xml]

extent.reporter.spark.start=true
extent.reporter.spark.out=target/extent-reports/Sample.html
systeminfo.Author=Ramesh
selcukes.reports.timestamp=false
selcukes.reports.thumbnail=false

Add Selcukes Extent Reports plugin to cucumber runner as follows

@CucumberOptions(tags = "@tag1", plugin = {
"io.github.selcukes.extent.report.SelcukesExtentAdapter:",
"html:target/cucumber-reports/cucumber.html", "json:target/cucumber-reports/cucumber.json"

})

Subscribe for product updates

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy.