mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2025-05-12 17:59:18 +00:00
28 lines
767 B
Java
28 lines
767 B
Java
import io.cucumber.junit.Cucumber;
|
|
import io.cucumber.junit.CucumberOptions;
|
|
import org.junit.AfterClass;
|
|
import org.junit.BeforeClass;
|
|
import org.junit.runner.RunWith;
|
|
import org.openqa.selenium.firefox.FirefoxDriver;
|
|
import stepdefs.Preconditions;
|
|
|
|
@RunWith(Cucumber.class)
|
|
@CucumberOptions(
|
|
features = {"src/test/resource/searchProduct.feature",
|
|
"src/test/resource/priceAlarms.feature",
|
|
"src/test/resource/favoriteShopList.feature",
|
|
"src/test/resource/manageVendor.feature"}
|
|
)
|
|
|
|
public class RunTest {
|
|
@BeforeClass
|
|
public static void setup() {
|
|
Preconditions.driver = new FirefoxDriver();
|
|
}
|
|
|
|
@AfterClass
|
|
public static void teardown() {
|
|
Preconditions.driver.close();
|
|
}
|
|
}
|