Skip to content

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

Notifications You must be signed in to change notification settings

foursyth/extentreports-cucumberN-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published