playwrightjava1/src/test/java/org/example/webtests/runner/DemoRunner.java
2023-01-27 15:37:08 +00:00

25 lines
774 B
Java

package org.example.webtests.runner;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(
features = "src/test/java/org/example/webtests/features/",
glue = {"org.example.webtests.steps"},
plugin = {
"pretty",
"html:target/test-reports/cucumber-report.html",
"json:target/test-reports/cucumber.json",
"pretty:target/test-reports/cucumber-pretty.txt",
"usage:target/test-reports/cucumber-usage.json",
"junit:target/test-reports/cucumber-results.xml"
},
publish = false,
stepNotifications = true
)
public class DemoRunner {
}