If you are using JUnit 4 and you have encountered the “No Test Found”. Make sure that your JUnit test case class does not extend the junit.framework.TestCase class(this is JUnit 3 style). If you do that the test annotation will not work.
I hope it helped.
↧
JUnit No Tests Found
↧