maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-4823) Surefire output lost if tests fail in a multi-module build
Date Sun, 19 Sep 2010 16:50:35 GMT
Surefire output lost if tests fail in a multi-module build
----------------------------------------------------------

                 Key: MNG-4823
                 URL: http://jira.codehaus.org/browse/MNG-4823
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Logging
    Affects Versions: 3.0-beta-3
            Reporter: Brett Porter


I'm filing this here as it only affects Maven 3, and I'm not sure which solution is preferable,
but expect this to be moved to SUREFIRE.

In a multi-module project, especially with a large number of modules, the reactor summary
will scroll the surefire results out of the window. See also: http://java.dzone.com/articles/upgrading-maven-3

One option is to repeat just the "Failed tests" part in the exception. This would require
a change in Surefire. I similarly just added this advice to https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-ErrorReporting

However, if others think it might be better to adjust the output (eg, by only showing failed
reactor modules, or making the summary optional) that's another possibility. I think given
parallel builds and fail-at-end reactor options it's best to pursue the former, though.

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

        

Mime
View raw message