You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/09/19 18:50:35 UTC
[jira] Created: (MNG-4823) Surefire output lost if tests fail in a
multi-module build
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