[
https://issues.apache.org/jira/browse/SUREFIRE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957115#comment-14957115
]
Gerald Mücke commented on SUREFIRE-1183:
----------------------------------------
We already have that in place, its quite a large multi-module project with
various test-only modules and several tests reports spread across the project.
But our testing strategy follows kind of a test-pyramid with more than two
stages, and therefore we'd like to a have an aggregated project-wide report for
each of the test-stages - and not for each of the used maven plugins.
Were we're running the {{mvn site}} command in the end of our build pipeline to
generate the documentation for the entire project, including aggregated test
reports. It's already working well, we have multiple aggregated test reports in
the "Project Reports" section, but each of those is either named "Surefire
Reports" or "Failsafe Reports", making them not that distinguishable :)
As far as I can see, the labels are defined in a bundle and can not be
overriden by configuration. My proposal is to define two additional
config-properties (title, description) that can be set in the report-sets,
which will override the values from the bundle. (see aforementionened Branch
for PoC)
> Custom Test Report Titles and Descriptions
> ------------------------------------------
>
> Key: SUREFIRE-1183
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1183
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Surefire Report Plugin
> Affects Versions: 2.18.1
> Reporter: Gerald Mücke
> Priority: Minor
>
> Hi,
> I'd like to add the possibility to customize the name and descriptions of the
> test reports, in order to define report sets with not only custom outputNames
> but custom titles and descriptions as well so that they appear in the report
> with a self-describing name and description.
> Motivation:
> At a customer project we have several automated tests (unit tests,
> integration tests, automated acceptance tests, performance tests) and each of
> those are run either using surefire or failsafe.
> We have different report sets for each of these tests and separate output
> files. But in the Project Reports Overview each Report is named either
> "Surefire Report" or "Failsafe Report" with the corresponding default
> description. Further, the title of the Report page itself is always "Surefire
> Reports"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)