You should provide more information:

- Source code of your test suite
- Can you run the suite from Eclipse? 
- etc.

If you asked me to guess, I'd say that for some reason, your tests are run
as JUnit3 tests, but there aren't any methods whose name starts with "test"
(because you've used JUnit4-style @Test annotations).

Cheers,
Peter


sauravs wrote:
> 
> Hi All,
> 
> I am using Surefire to run my Junit tests for Eclipse based plug-ins.
> 
> I keep getting the following error while running the tests.
> 
> java.lang.exception no runnable methods
> 
> Where in a have a TestSuite and the TestSuite has a test class.
> The test class ends with test and all the methods have @test annotations
> associated with it.
> 
> I am using JUnit 4 and Eclipse 3.5.
> 
> Please help me to resolve the problem.
> 
> Thanks and Regards,
> Saurav
> 

-- 
View this message in context: 
http://old.nabble.com/Maven-Surefire%3A-Unable-to-run-the-Junits-tp28535615p28538374.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to