Re: [sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-14 Thread Jean-Sebastien Delfino
[snip] Luciano Resende wrote: Hi Raymond 1) What's the naming convention for test suites? Should we name them as *TestSuite.java? If so, we have to adjust the surefire inclusion pattern in pom.xml to recognize the test suites. If we're fine with names such as *AllTestCase.java, then the

[sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-13 Thread Raymond Feng
Hi, I have experimented to run a collection of test cases as a suite in maven with surefire 2.3 (which supports JUnit 4.2). The following is an example to demonstrate how we can achieve it. import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.runner.RunWith; import

Re: [sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-13 Thread Luciano Resende
Hi Raymond 1) What's the naming convention for test suites? Should we name them as *TestSuite.java? If so, we have to adjust the surefire inclusion pattern in pom.xml to recognize the test suites. If we're fine with names such as *AllTestCase.java, then the current pattern can work as-is. I