[ 
http://jira.codehaus.org/browse/MPTEST-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed MPTEST-75.
-------------------------------

      Assignee: Lukas Theussl
    Resolution: Won't Fix

maven.test.error.ignore=true ;) Check the plugin properties ( 
http://maven.apache.org/maven-1.x/plugins/test/properties.html ), there are a 
few settings to control the behavior, and yes, some things have changed wrt 
m1.0.2...

> Final test failure leads to strange formatted error
> ---------------------------------------------------
>
>                 Key: MPTEST-75
>                 URL: http://jira.codehaus.org/browse/MPTEST-75
>             Project: Maven 1.x Test Plugin
>          Issue Type: Bug
>    Affects Versions: 1.8.2
>            Reporter: Andy Jefferson
>            Assignee: Lukas Theussl
>
> When running JUnit tests with Maven 1.1.0 on Linux if the final test fails I 
> get non-standard output. To attempt to explain better ...
>     [junit] Running org.jpox.tests.NondurableIdTest
>     [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 5.947 sec
>     [junit] [ERROR] Test org.jpox.tests.NondurableIdTest FAILED
>     [junit] Running org.jpox.tests.ObjectFCOTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.471 sec
>     [junit] Running org.jpox.tests.PersistenceManagerFactoryImplTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 25.693 sec
>     [junit] Running org.jpox.tests.PersistenceManagerImplTest
>     [junit] Tests run: 49, Failures: 1, Errors: 0, Time elapsed: 8.589 sec
>     [junit] [ERROR] Test org.jpox.tests.PersistenceManagerImplTest FAILED
>     [junit] Running org.jpox.tests.SequenceTest
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.072 sec
>     [junit] Running org.jpox.tests.SerializationTest
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 3.607 sec
>     [junit] Running org.jpox.tests.TransactionTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.142 sec
>     [junit] Running org.jpox.tests.TypeManagerTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
>     [junit] Running org.jpox.tests.TypeStorageTest
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 11.486 sec
>     [junit] Running org.jpox.tests.TypesMappingTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
>     [junit] Running org.jpox.tests.ViewTest
>     [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 2.33 sec
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [test:test]
> >> Test org.jpox.tests.ViewTest failed
> -------------------------------------------------------------------------------
> BUILD FAILED
> So normally when a test fails you get the line [ERROR] but when its the final 
> test you dont get that and get the ugly "Unable to obtain goal" etc. Why is 
> it not displaying the final test correctly?

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