package mypackage; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions(plugin = {"pretty", "html:target/cucumber"}) public class RunCukesTest { }
mvn clean installgherkin-and-jacoco-integration/target/site/jacoco-it/index.html
gherkin-and-jacoco-integration/target/site/jacoco/index.html
Hope this helps.