report generation for pipeline
This commit is contained in:
parent
ded1db8f80
commit
6b9c72321b
31
pom.xml
31
pom.xml
@ -120,6 +120,29 @@
|
||||
|
||||
</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@ -137,12 +160,16 @@
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.0.0-M7</version>
|
||||
<configuration>
|
||||
<!-- <testClassesDirectory>s360UIAutomationCC/src/main/java</testClassesDirectory> -->
|
||||
<testSourceDirectory>src/test/java/org/example/webtests</testSourceDirectory>
|
||||
<includes>
|
||||
<include>**/*DemoRunner.java</include>
|
||||
</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>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -10,11 +10,11 @@ import org.junit.runner.RunWith;
|
||||
glue = {"org.example.webtests.steps"},
|
||||
plugin = {
|
||||
"pretty",
|
||||
"html:target/cucumber-html-report",
|
||||
"json:target/cucumber.json",
|
||||
"pretty:target/cucumber-pretty.txt",
|
||||
"usage:target/cucumber-usage.json",
|
||||
"junit:target/cucumber-results.xml"
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user