diff --git a/example-cucumber6/pom.xml b/example-cucumber6/pom.xml index 3a3eb50..750359b 100644 --- a/example-cucumber6/pom.xml +++ b/example-cucumber6/pom.xml @@ -38,7 +38,6 @@ 4.17.0 - com.epam.reportportal @@ -79,4 +78,48 @@ test + + + + basic + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.1 + + + **/BasicRunTest.class + + + + + + + + rerun + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.1 + + + **/BasicReRunTest.class + + + true + Example Domain + + + + + + + diff --git a/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicReRunTest.java b/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicReRunTest.java new file mode 100644 index 0000000..1594a25 --- /dev/null +++ b/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicReRunTest.java @@ -0,0 +1,13 @@ +package com.epam.reportportal.example.cucumber6; + +import io.cucumber.junit.Cucumber; +import io.cucumber.junit.CucumberOptions; +import org.junit.runner.RunWith; + +@RunWith(Cucumber.class) +@CucumberOptions( + plugin = { "pretty", "html:report.html", "com.epam.reportportal.example.cucumber6.attributes.KeyValueAttributeReporter" }, + features = "@rerun.txt", + glue = "com.epam.reportportal.example.cucumber6.glue") +public class BasicReRunTest { +} diff --git a/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicRunTest.java b/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicRunTest.java index c4be030..ede4b03 100644 --- a/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicRunTest.java +++ b/example-cucumber6/src/test/java/com/epam/reportportal/example/cucumber6/BasicRunTest.java @@ -6,7 +6,8 @@ @RunWith(Cucumber.class) @CucumberOptions( - plugin = { "pretty", "html:report.html", "com.epam.reportportal.example.cucumber6.attributes.KeyValueAttributeReporter" }, + plugin = { "pretty", "html:report.html", "com.epam.reportportal.example.cucumber6.attributes.KeyValueAttributeReporter", + "rerun:rerun.txt" }, features = "src/test/resources/features", tags = "not @ignore", glue = "com.epam.reportportal.example.cucumber6.glue")