/Runner.java Secret
Last active
April 13, 2021 20:47
This file contains 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
@RunWith(Cucumber.class) | |
@CucumberOptions( | |
features = { "src/test/resources/parallel" }, | |
glue = {"parallel" },monochrome = true, publish = true, | |
plugin = { "pretty", | |
"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:", | |
"timeline:test-output-thread/", | |
"json:Report/cucumber-reports/cucumber.json", | |
"html:target/cucumber-html-report", | |
"html:target/cucumber-reports/cucumber.xml" | |
} | |
) | |
public class MyTestRunner { | |
@BeforeClass | |
public static void beforeClass() { | |
System.out.println("I am in before class"); | |
} | |
@AfterClass | |
public static void afterClass() { | |
new Report_Helper().onFinish(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment