25 lines
774 B
Java
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 {
|
|
|
|
}
|