将surefire和故障保护报告与maven surefire报告插件相结合
我试图获得并合并测试报告,其中列出了由Surefire和Failsafe运行的测试将surefire和故障保护报告与maven surefire报告插件相结合,maven,maven-surefire-plugin,Maven,Maven Surefire Plugin,我试图获得并合并测试报告,其中列出了由Surefire和Failsafe运行的测试 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${maven.surefire.plugin.version}</version
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<title>Foo Bar</title>
<aggregate>true</aggregate>
</configuration>
<reportSets>
<reportSet>
<id>integration-tests</id>
<reports>
<report>report</report>
<report>failsafe-report-only</report>
</reports>
</reportSet>
</reportSets>
</plugin>
org.apache.maven.plugins
maven surefire报告插件
${maven.surefire.plugin.version}
富吧
真的
集成测试
报告
仅故障保护报告
在执行als测试并运行mvn site:site
后,将生成两个报告
- surefire-report.html
- failsafe-report.html