maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Mücke (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1183) Custom Test Report Titles and Descriptions
Date Wed, 14 Oct 2015 05:12:05 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956280#comment-14956280
] 

Gerald Mücke commented on SUREFIRE-1183:
----------------------------------------

I thought of adding the properties (title, description) so that I can define both in the reportSets'
configuration. 

We have the various testfolders in different subfolders of the target dir, so they don't get
picked up from the default directories (surefire-report, failsafe-report) and we have to define
a custom reportSet anyway (i.e. acceptance-test, performance-test). 
With the two properties specified in the configuration, they could override the default labels
from the Bundle.

Implemented a PoC here https://github.com/gmuecke/maven-surefire/tree/SUREFIRE-1183 

I'd like to provide a test as well, but didn't had the time yet

> 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)

Mime
View raw message