surefire-report:failsafe-report-only
Note:This goal should be used as a Maven report.
Full name:
org.apache.maven.plugins:maven-surefire-report-plugin:3.0.0-M8:failsafe-report-only
Description:
Creates a nicely formatted Failsafe Test Report in html format.
This goal does not run the tests, it only builds the reports. See
https://issues.apache.org/jira/browse/SUREFIRE-257
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
2.10
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<outputName> |
String |
2.10 |
The filename to use for the report. Default value is: failsafe-report .User property is: outputName . |
<showSuccess> |
boolean |
2.10 |
If set to false, only failures are shown. Default value is: true .User property is: showSuccess . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<aggregate> |
boolean |
2.10 |
Whether to build an aggregated report at the root, or build
individual reports. Default value is: false .User property is: aggregate . |
<alwaysGenerateFailsafeReport> |
boolean |
2.11 |
If set to true the failsafe report will be generated even when
there are no failsafe result files. Defaults to false
to preserve legacy behaviour pre 2.10.Default value is: false .User property is: alwaysGenerateFailsafeReport . |
<description> |
String |
2.21.0 |
A custom description for the project reports page. User property is: failsafe.report.description . |
<linkXRef> |
boolean |
2.10 |
Whether to link the XRef if found. Default value is: true .User property is: linkXRef . |
<reportsDirectories> |
File[] |
2.10 |
Directories containing the XML Report files that will be parsed and
rendered to HTML format. |
<reportsDirectory> |
File |
2.10 |
(Deprecated, use reportsDirectories) This directory contains the
XML Report files that will be parsed and rendered to HTML format. |
<skipFailsafeReport> |
boolean |
2.11 |
If set to true the failsafe report generation will be skipped. Default value is: false .User property is: skipFailsafeReport . |
<title> |
String |
2.21.0 |
A custom title of the report for the menu and the project reports
page. User property is: failsafe.report.title . |
<xrefLocation> |
File |
2.10 |
Location of the Xrefs to link. Default value is: ${project.reporting.outputDirectory}/xref-test . |
Parameter Details
<aggregate>
Whether to build an aggregated report at the root, or build
individual reports.
- Type:
boolean
- Since:
2.10
- Required:
No
- User Property:
aggregate
- Default:
false
<alwaysGenerateFailsafeReport>
If set to true the failsafe report will be generated even when
there are no failsafe result files. Defaults to
false
to preserve legacy behaviour pre 2.10.- Type:
boolean
- Since:
2.11
- Required:
No
- User Property:
alwaysGenerateFailsafeReport
- Default:
false
<description>
A custom description for the project reports page.
- Type:
java.lang.String
- Since:
2.21.0
- Required:
No
- User Property:
failsafe.report.description
<linkXRef>
Whether to link the XRef if found.
- Type:
boolean
- Since:
2.10
- Required:
No
- User Property:
linkXRef
- Default:
true
<outputName>
The filename to use for the report.
- Type:
java.lang.String
- Since:
2.10
- Required:
Yes
- User Property:
outputName
- Default:
failsafe-report
<reportsDirectories>
Directories containing the XML Report files that will be parsed and
rendered to HTML format.
- Type:
java.io.File[]
- Since:
2.10
- Required:
No
<reportsDirectory>
(Deprecated, use reportsDirectories) This directory contains the
XML Report files that will be parsed and rendered to HTML format.
- Type:
java.io.File
- Since:
2.10
- Required:
No
<showSuccess>
If set to false, only failures are shown.
- Type:
boolean
- Since:
2.10
- Required:
Yes
- User Property:
showSuccess
- Default:
true
<skipFailsafeReport>
If set to true the failsafe report generation will be skipped.
- Type:
boolean
- Since:
2.11
- Required:
No
- User Property:
skipFailsafeReport
- Default:
false
<title>
A custom title of the report for the menu and the project reports
page.
- Type:
java.lang.String
- Since:
2.21.0
- Required:
No
- User Property:
failsafe.report.title
<xrefLocation>
Location of the Xrefs to link.
- Type:
java.io.File
- Since:
2.10
- Required:
No
- Default:
${project.reporting.outputDirectory}/xref-test