You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tomislav Nakic-Alfirevic (JIRA)" <ji...@codehaus.org> on 2012/09/21 10:39:36 UTC

[jira] (SUREFIRE-580) Allow "fail fast" or stop running on first failure

    [ https://jira.codehaus.org/browse/SUREFIRE-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309395#comment-309395 ] 

Tomislav Nakic-Alfirevic commented on SUREFIRE-580:
---------------------------------------------------

It would even be useful if test execution was not interrupted, but the result of each test be output after the test, not after the entire test suite. Something that would work like this:

$ mvn test | grep FAIL
SuiteA.test2 FAILED
SuiteA.test11 FAILED
SuiteB.test1 FAILED
[surefire still running]

I imagine that should be fairly easy to implement, yet it would still provide quick information about any test failures...

                
> Allow "fail fast" or stop running on first failure
> --------------------------------------------------
>
>                 Key: SUREFIRE-580
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-580
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Junit 4.x support
>            Reporter: Paul Curren
>
> We have some slow Selenium builds. Waiting for indication of failure can take a long time. It would be helpful if there was an option to finish the test run on the first failure.
> We could configure this on some of our slower builds so improve the speed of the feedback loop in the cases where there are failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira