Skip to content

Instantly share code, notes, and snippets.

@Neptune998
Created August 28, 2021 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neptune998/027d73c41910b0264c3927a3d9cc6283 to your computer and use it in GitHub Desktop.
Save Neptune998/027d73c41910b0264c3927a3d9cc6283 to your computer and use it in GitHub Desktop.
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