You need to configure surefire to ignore test failures.
Look here for testFailureIgnore:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
I remember that I have read about a way to have this flag set
dynamically so it is only ignored if you plan to generate reports (I
think Carlos Sanchez has a blog on this).
Andreas
-Original Message-
From: Martin Gilday [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 7:09 AM
To: users@maven.apache.org
Subject: Surefire report not running on test failures
I am trying to generate the HTML report immediately after running tests,
as it seems much easier to locate failures using it rather than the
individual log files. However when a test failure occurs the report is
not created.
This issue http://jira.codehaus.org/browse/MSUREFIREREP-2 states this
was fixed in 2.0. I have tried going back to version 2.0 but still no
success.
...
org.apache.maven.plugins
maven-surefire-report-plugin
2.0
...
Is this still an outstanding problem?
Regards,
Martin.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]