Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package TestAutomation.TestRunner;
import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
//Cucumber Runner class
@RunWith(Cucumber.class)
//Options to add features files from feature directory.
@CucumberOptions(
features = "./features",
glue = {"TestAutomation.StepDef"},
tags = {"@Test"},
plugin= {"pretty",
"html:./target/SystemTestReports/html",
"junit:./target/SystemTestReports/junit/report.xml"},
monochrome = true,
dryRun=false)
//Runner class
public class TestRunner {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment