Re: M2: JUnit Testing

2005-07-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Surefire is used to setup and run the JUnit tests (I think it's a replacement for the JUnit test-runner tools, but I'm not sure). The long and the short of it is that surefire *should* produce the same results as the m1 junit stuff... ...with the exc

Re: M2: JUnit Testing

2005-07-14 Thread Emmanuel Venisse
Michael Owen wrote: Hi, Using M2. Firstly, when I run test, it runs surefire and not JUnit as shown in Maven 1 documentation. Is surefire better and/or how do I get JUnit to run the tests? Surefire create a specific classloader for tests without maven classes in it. Surefire embed JUnit,

M2: JUnit Testing

2005-07-14 Thread Michael Owen
Hi, Using M2. Firstly, when I run test, it runs surefire and not JUnit as shown in Maven 1 documentation. Is surefire better and/or how do I get JUnit to run the tests? Secondly, how do I get a HTML report showing the outcome of the JUnit tests run e.g. number of successful tests, error mes