Maven Surefire Report Plugin parses the generated TEST-*.xml
files under ${basedir}/target/surefire-reports
and renders them using DOXIA, which creates the web interface version of the test results.
Goals
The Surefire Report Plugin only has one goal (the other is a workaround):
- surefire-report:failsafe-report-only This goal does not run the tests, it only builds the IT reports. See SUREFIRE-257
- surefire-report:report Generates the test results report into HTML format.
- surefire-report:report-only This goal does not run the tests, it only builds the reports. It is provided as a work around for SUREFIRE-257
使用
Generate the Report in a Standalone Fashion
mvn surefire-report:report
Generate the Report as Part of Project Reports
1 |
|
mvn site