Created
March 30, 2022 20:09
-
-
Save burcuakkayaa/17558673b9b274c88172fb00d181c4fd to your computer and use it in GitHub Desktop.
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
package myTestRunners; | |
import io.cucumber.junit.Cucumber; | |
import io.cucumber.testng.CucumberOptions; | |
import org.junit.AfterClass; | |
import org.junit.BeforeClass; | |
import org.junit.runner.RunWith; | |
@RunWith(Cucumber.class) | |
@CucumberOptions( | |
features = "src/test/resources/functionalTests", | |
glue= {"myStepDefinitions" , "myHooks"}, | |
tags = "@chrome", | |
plugin = { "com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:", | |
"timeline:test-output-thread/", | |
"rerun:src/test/resources/failedrerun.txt"}, | |
monochrome = true, | |
publish = true | |
) | |
public class TestRunnerWithJunit { | |
@BeforeClass | |
void beforeClass() { | |
} | |
@AfterClass | |
void afterClass() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment