Created
August 28, 2021 14:20
-
-
Save Neptune998/027d73c41910b0264c3927a3d9cc6283 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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