Hi All, I didn't see a response to my first post -- I did some additional experimentation with it:
> -----Original Message----- > From: Michael Rimov [mailto:[EMAIL PROTECTED] > Sent: Friday, September 29, 2006 5:11 AM > To: [email protected] > Subject: [M2] Surefire executing a single test suite. > > I've been working on updating the build system for a project > (http://emo.sf.net/) to maven2. > > Because of the extensive database setup, it all unit tests execute through > a > single test suite which has the format liket his: > > > com.sri.emo.test.EmoTestSuite: > > public static junit.framework.Test suite() throws Exception { > > EmoTestSuite ts = new EmoTestSuite(); > > ts.addTest(com.sri.emo.dbobj.TestSchema.suite()); > > ts.addTestSuite(com.sri.emo.TestEmoSchema.class); > > ts.addTestSuite(com.sri.emo.test.TestDatabaseTestFixture.class); > > > > //Other test suites > > return ts; > > } Followup: If I put a method: testSomething() {} inside the EmoTestSuite class, then THAT test case gets run (within the same class) -- so it specifically appears to be a problem with the surefire plugin not calling suite() to build a test suite. Is there a setting that I'm just missing to get surefire to do this? Is it a bug? Does anyone have a workaround to suggest? Am I misapplying Surefire? Thanks in advance! -Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
