maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J?rg Hohwiller (JIRA)" <>
Subject [jira] Created: (MSUREFIRE-137) failure reason not displayed
Date Wed, 14 Jun 2006 08:53:41 GMT
failure reason not displayed

         Key: MSUREFIRE-137
     Project: Maven 2.x Surefire Plugin
        Type: Improvement

    Versions: 2.2    
    Reporter: Jörg Hohwiller

Neigther with "mvn test" nor with "mvn -X test" I get the reason why a unit test fails.
Of course I can run the test within my IDE but in my case it worked within the IDE and only
did NOT work in maven2.
After times of digging I found that there is a bug in sufrefire (MSUREFIRE-115) causing this
It would have saved me a lot of time if surefire would log the reason if a test fails. This
should include stacktraces of Exceptions if started with -X. Currently I only get:
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failure.
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(

what is absolutely useless to track down the problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message