maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SUREFIRE-528) Splitting tests names in two categories : success and failure
Date Thu, 17 Feb 2011 13:42:22 GMT

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

Alexander Klimetschek commented on SUREFIRE-528:
------------------------------------------------

Have a look at SUREFIRE-701 - it provides a showSuccess=false option that simply omits successful
reports. Together with disableXmlReport=true to get rid of the xml files in target/surefire-reports,
very useful when you develop & only look for the failed test reports.

> Splitting tests names in two categories : success and failure
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-528
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-528
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.0 (2.2 plugin)
>            Reporter: Emmanuel L├ęcharny
>
> We have to check all the *.txt files to find the ones which contain some errors. The
fact that failed tests are listed before does not help a lot when you have hundred of tests
run with sometime lot of logs.
> I would rather propose that we either create two sub-directories (failure/success) or
that we postfix tests. 
> A good example : 
> ...
> Tests run: 197, Failures: 1, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> Please refer to /home/elecharny/apacheds/mina/trunk/core/target/surefire-reports for
the individual test results.
> ...
> Would be better to have :
> Please refer to /home/elecharny/apacheds/mina/trunk/core/target/surefire-reports/failure
for the individual test failures.

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