maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (SUREFIRE-701) showSuccess option for test reports: show reports only for failed tests
Date Thu, 17 Feb 2011 14:13:22 GMT

    [ http://jira.codehaus.org/browse/SUREFIRE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256565#action_256565
] 

Emmanuel L├ęcharny commented on SUREFIRE-701:
--------------------------------------------

This should be the default behavior : not generating the (empty) text files for success. Who
cares about them anyway ?

> showSuccess option for test reports: show reports only for failed tests
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-701
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-701
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.7.3
>            Reporter: Alexander Klimetschek
>         Attachments: showsuccess.patch
>
>
> Use case:
> When you have a few tests, and some of them fail during development/refactoring, you
find yourself repeatedly looking into target/surefire-reports to open the test report (txt)
files with the errors and stack traces to analyze them. However, by default reports will be
written also for successful tests, and both in txt and xml format (the xml files can already
be omitted using disableXmlReport=false). This makes it hard to find the files that contain
the failed tests.
> Solution proposal:
> Just as the maven-surefire-report-plugin already has a showSuccess option, that, if set
to "false", will not report successful tests, the same should be available for the maven-surefire-plugin
and the normal test goal.
> Either set "-DshowSuccess=false" on the command line or define "<showSuccess>false</showSuccess>"
in the maven-surefire-plugin configuration of the pom, and reports for successful tests should
not be written to the reports directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message