Thursday, April 29, 2010

Eclipse, jUnit: "No Unit Tests found"

Eclipse Galileo 3.5.2, jUnit 4.5, a maven project. Suddenly running an annotated unit test (i.e. one that didn't extend TestCase) fails in Eclipse with "No Unit Tests found". Fix: restart Eclipse. Reason: unknown.