[ http://jira.codehaus.org/browse/MSUREFIRE-143?page=all ]

Charlie Groves updated MSUREFIRE-143:
-------------------------------------

    Attachment: MSUREFIRE-143-surefire-api.patch
                MSUREFIRE-143-maven-surefire-plugin.patch

I've updated the patches to work as Brett suggested.  That handles both with 
useFile and without and removes the @FL line.  It changes the current behavior 
so that if printSummary is true the console printout uses the same format as 
the file output, but that seems better to me so I went with it.  

I think it'd be nice to delete the subclasses of ConsoleReporter and 
FileReporter in surefire-api(Brief*) and just require a format string to be 
passed in.  The use of subclasses confused me initially since I thought that 
was the mechanism that was used to determine how to format output.  I didn't go 
ahead and do that since I'm not sure if this is used external to the plugin.

> provide option to list all of the test cases which failed when running a build
> ------------------------------------------------------------------------------
>
>                 Key: MSUREFIRE-143
>                 URL: http://jira.codehaus.org/browse/MSUREFIRE-143
>             Project: Maven 2.x Surefire Plugin
>          Issue Type: Improvement
>            Reporter: james strachan
>             Fix For: 2.3
>
>         Attachments: MSUREFIRE-143-maven-surefire-plugin.patch, 
> MSUREFIRE-143-maven-surefire-plugin.patch, MSUREFIRE-143-surefire-api.patch, 
> MSUREFIRE-143-surefire-api.patch
>
>
> Lots of projects I work on have large numbers of test cases; the execution of 
> the tests takes up many screens. We are often see the output...
> Results :
> Tests run: 1496, Failures: 0, Errors: 5, Skipped: 0
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------      
>             
> Then we have to page up manually grepping for <<< FAILURE which can take a 
> while. It would be good to just list the failed test cases in the output

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

        

Reply via email to