report generation for pipeline
This commit is contained in:
parent
ded1db8f80
commit
6b9c72321b
31
pom.xml
31
pom.xml
@ -120,6 +120,29 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>test</id>
|
||||||
|
<properties>
|
||||||
|
<cucumber.options>
|
||||||
|
plugin={
|
||||||
|
"pretty",
|
||||||
|
"html:target/reports/cucumber-html-report.html",
|
||||||
|
"json:target/reports/cucumber.json",
|
||||||
|
"pretty:target/reports/cucumber-pretty.txt",
|
||||||
|
"usage:target/reports/cucumber-usage.json",
|
||||||
|
"junit:target/reports/cucumber-results.xml"
|
||||||
|
},
|
||||||
|
publish=false,
|
||||||
|
stepNotifications=true
|
||||||
|
</cucumber.options>
|
||||||
|
<cucumber.publish.quiet>
|
||||||
|
cucumber.publish.quiet=true
|
||||||
|
</cucumber.publish.quiet>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -137,12 +160,16 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>3.0.0-M7</version>
|
<version>3.0.0-M7</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- <testClassesDirectory>s360UIAutomationCC/src/main/java</testClassesDirectory> -->
|
|
||||||
<testSourceDirectory>src/test/java/org/example/webtests</testSourceDirectory>
|
<testSourceDirectory>src/test/java/org/example/webtests</testSourceDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*DemoRunner.java</include>
|
<include>**/*DemoRunner.java</include>
|
||||||
</includes>
|
</includes>
|
||||||
<!-- <excludes> <exclude>**/*RunCukesTest.java</exclude> </excludes> -->
|
<systemPropertyVariables>
|
||||||
|
<!--suppress UnresolvedMavenProperty -->
|
||||||
|
<cucumber.options>${cucumber.options}</cucumber.options>
|
||||||
|
<!--suppress UnresolvedMavenProperty -->
|
||||||
|
<cucumber.publish.quiet>${cucumber.publish.quiet}</cucumber.publish.quiet>
|
||||||
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -10,11 +10,11 @@ import org.junit.runner.RunWith;
|
|||||||
glue = {"org.example.webtests.steps"},
|
glue = {"org.example.webtests.steps"},
|
||||||
plugin = {
|
plugin = {
|
||||||
"pretty",
|
"pretty",
|
||||||
"html:target/cucumber-html-report",
|
"html:target/reports/cucumber-html-report.html",
|
||||||
"json:target/cucumber.json",
|
"json:target/reports/cucumber.json",
|
||||||
"pretty:target/cucumber-pretty.txt",
|
"pretty:target/reports/cucumber-pretty.txt",
|
||||||
"usage:target/cucumber-usage.json",
|
"usage:target/reports/cucumber-usage.json",
|
||||||
"junit:target/cucumber-results.xml"
|
"junit:target/reports/cucumber-results.xml"
|
||||||
},
|
},
|
||||||
publish = false,
|
publish = false,
|
||||||
stepNotifications = true
|
stepNotifications = true
|
||||||
|
Loading…
Reference in New Issue
Block a user