Is each of these in a different testmethod within a single class, such as
testFirst(), testSecond() ?  If so, then this is the standard behavior of
JUnit.  Each method is considered to be a test and will fail, but the class
may contain multiple tests.

On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:


As I understand it, typically when a JUnit test fails, you want it to stop
right there and report the error (and not continue running tests).

However in some code I recently inherited using the Maven surefire plugin,
a
test fails and it keeps going, and going and going and in the end reports
40
test failures.

How do I make it stop and shut down on the first test failure?

thanks

Si'mon
--
View this message in context:
http://www.nabble.com/Maven-surefire-question-tf3848991s177.html#a10902420
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to