Re: Maven-Surefire: Unable to run the Junit

2010-05-12 Thread sauravs
Thanks again Peter and Christoph for the replies. Nope i dont have any helper classes. I had looked at the surefire bug earlier but of to no avail. I do have helper methods with no test annotations but i dont think that has this ability to create this havoc :). Peter Niederwieser wrote: > > Ri

Re: Maven-Surefire: Unable to run the Junit

2010-05-12 Thread Peter Niederwieser
Right, that's another likely cause I've battled with in the past. Now my bet is on this one. :-) Christoph Kutzinski wrote: > > Do you have classes with 'Test' in the name, but without any @Test > annotations - e.g..test helper classes > -- View this message in context: http://old.nabble.c

Re: Maven-Surefire: Unable to run the Junit

2010-05-12 Thread Christoph Kutzinski
Do you have classes with 'Test' in the name, but without any @Test annotations - e.g..test helper classes Surefire has the (stupid) habit of treating all classes with 'Test' in the name as test classes. See http://jira.codehaus.org/browse/SUREFIRE-482 Christoph Am 12.05.2010 20:23, schrieb s

Re: Maven-Surefire: Unable to run the Junit

2010-05-12 Thread sauravs
Hi Peter, Thanks for the reply. (a) Code for the test suite for the eclipse @RunWith(Suite.class) @SuiteClasses( {ExtensionTest.class,EditorTest.class} ) public class BaseFrameworkTestSuite { } (b) The suite runs successfully from the Eclipse. I think the tests are being r