Re: maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-12 Thread Andreas Gudian
Hi, 2.10 is rather old. Could you try it with a more recent version such as 2.17? Am Donnerstag, 11. September 2014 schrieb David Hoffer : I have a module where maven-surefire-plugin (2.10) is configured to use TestNG and JUnit47. The former has several tests that all succeed and the later

Re: maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-12 Thread David Hoffer
I did try 2.17 to see if it would fix the problem but got an additional error (I forget what it was) so I reverted it back to 2.10. I ended up just converting the TestNG tests to use JUnit and all works fine now. -Dave On Fri, Sep 12, 2014 at 12:38 AM, Andreas Gudian andreas.gud...@gmail.com

maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-11 Thread David Hoffer
I have a module where maven-surefire-plugin (2.10) is configured to use TestNG and JUnit47. The former has several tests that all succeed and the later has two tests that fail. However the build succeeds. How can I configure surefire so the build fails if either have failures which is the