Some clarification is needed on my part. I was hoping that the surefire execution would halt on the first error of a test suite. In fact, the build process will halt but only after all tests are run in the suite. After viewing the source code for surefire and for the ant junit plugin, I realize what the issue is. The haltOnFailure capability of the ant junit task is implemented in the ant code and it is quite lengthy. It is not part of JUnit and the rather simple implementation of surefire is not setup to handle it. I have adjusted my mindset to the new paradigm and will go with it. I just need to sell everyone else on the project on it. The surefire report should help.
--- On Wed 08/02, Edwin Punzalan < [EMAIL PROTECTED] > wrote: From: Edwin Punzalan [mailto: [EMAIL PROTECTED] To: [email protected] Date: Thu, 03 Aug 2006 08:53:22 +0800 Subject: Re: maven2 surefire haltOnFailure Maybe its just you... I've never experienced surefire to default <br>haltOnFailure to false.<br><br>Dennis Klavans wrote:<br>> My test execution does not seem to stop on a failure. Essentially, I need the JUnit haltOnFailure/haltOnError functionality. Researching snippets on the web seems to suggest that should be the default behavior. No-one else seems to have complained about this. I found that this was fixed in 1.8 so I would view this as somewhat of a backwards compatibility issue even though the plugin is new to 2.x. Does anyone know if this is just me?<br>><br>> Thanks<br>><br>><br>><br>><br>> _______________________________________________<br>> Join Excite! - http://www.excite.com<br>> The most personalized portal on the Web!<br>><br>><br>><br>> ---------------------------------------------------------------------<br>> To unsubscribe, e-mail: [EMAIL PROTECTED]<br>> For additional commands, e-mail: [EMAIL PROTECTED]<br>><br>> <br><br>---------------------------------------------------------------------<br>To unsubscribe, e-mail: [EMAIL PROTECTED]<br>For additional commands, e-mail: [EMAIL PROTECTED]<br><br> _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
