That sounds promising, unfortunately I only came across a "failIfNoTests" option...

   Thanks, Jason

Baptiste MATHUS wrote:
Or maybe Jason wants a failfast behaviour. If so, then I don't think it's
possible (see
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html for
existing options).

And if so, again, you should know interdependent JUnit test is a very bad
practice. JUnit tests should be executable in any order (when no order is
specified, since I seem to remember it's possible to specify one with testng
e.g.).

Cheers.

2008/12/24 Jaikiran <[email protected]>

novotny wrote:
    Hi,

    What maven configuration do I need to do to make maven die
completely if any test fails?

    Thanks, Jason


As far as i know, that's the default behaviour. Unless you have set the
maven.test.failure.ignore to true


--
View this message in context:
http://www.nabble.com/how-to-make-surefire-die-if-a-single-test-fails-tp21152426p21156002.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to