Created
March 30, 2022 20:17
-
-
Save burcuakkayaa/f0db45fbfef1a0ca112f2929959b36f1 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.testng.AbstractTestNGCucumberTests; | |
import io.cucumber.testng.CucumberOptions; | |
import org.testng.annotations.AfterTest; | |
import org.testng.annotations.BeforeTest; | |
@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 TestRunner extends AbstractTestNGCucumberTests { | |
@BeforeTest | |
void beforeTest() { | |
} | |
@AfterTest | |
void AfterTest() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment