[ http://jira.codehaus.org/browse/MPTEST-71?page=comments#action_73899 ] 
            
Pascal Grange commented on MPTEST-71:
-------------------------------------

It seems that the maven.test.failure.ignore property has been used to specify 
junit to stop test execution at the first encountered failure.

This means that it is no more possible to fail maven build when test fails but 
still execute *ALL* the tests. This is a bug.

This is essential to be able to run all the tests unconditionally when you 
build test reports, for instance. And we still need the build to fail after 
*ALL* the tests have been run if one of  them ended on failure.

It would be a good idea to propose a separate property such as 
maven.test.haltonfailure or maven.test.haltonerror to specify junit to stop at 
the first failure or error. This property must be set to false by default to 
comply with maven-test-plugin behaviour before version 1.8.

See http://jira.codehaus.org/browse/MPTEST-39

> maven test stops the build at the first test failure
> ----------------------------------------------------
>
>                 Key: MPTEST-71
>                 URL: http://jira.codehaus.org/browse/MPTEST-71
>             Project: maven-test-plugin
>          Issue Type: Bug
>            Reporter: Pascal Grange
>         Assigned To: Lukas Theussl
>             Fix For: 1.8
>
>
> The fix for MPTEST-25 has a behavioral side effect that I consider as a bug. 
> Before the fix, any test failure would halt the whole testing process, unless 
> the failure.ignore was specified. Now, no matter what you do, the complete 
> test suite will run eventhough you want it to stop at the first error it 
> encounters.  
> http://jira.codehaus.org/browse/MPTEST-25
> Thanks,
> Seb

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