/extentreports-cucumberN-example

An example project to show extentreports-cucumber*-adapter usage

Primary LanguageHTML

Example showing usage of extentreports-cucumber*-adapter

I have created a small example to share with the community which shows usage for:

  • extentreports-cucumber2-adapter
  • extentreports-cucumber3-adapter
  • extentreports-cucumber4-adapter

The example is from the official Cucumber project.

How to

Steps you need to follow to use the extentreports adapter for Cucumber JVM:

  • Start with marking your runner with the adapter link:
@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:", "json:target/cucumber-report.json"})
public class RunCukesTest {
    
}
  • Now, to tell the adapter which reporters you will be using, add extent.properties under src/test/resources/ link