Skip to content

vzenzo/extentreports-cucumber4-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extentreports-cucumber4-adapter

Maven Central

Docs

See here for complete docs.

Usage

To begin using the adapter, add the com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter plugin to the runner.

@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"})
public class RunCukesTest {
	// ..
}

Attaching Screenshots

Screenshots can be saved to a specified in extent.properties using:

screenshot.dir=test-output/

Starting 1.0.11, the below setting can be used to specify the relative path from the saved HTML file to link screenshots:

screenshot.rel.path=../

To learn more about this, refer to #20.

License

MIT licensed

Packages

No packages published

Languages

  • Java 97.6%
  • Gherkin 2.4%