Re: how to make surefire die if a single test fails
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 jai_forums2...@yahoo.co.in 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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Baptiste Batmat MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
Re: how to make surefire die if a single test fails
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 jai_forums2...@yahoo.co.in 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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
how to make surefire die if a single test fails
Hi, What maven configuration do I need to do to make maven die completely if any test fails? Thanks, Jason - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to make surefire die if a single test fails
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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org