No tests found with test runner ‘JUnit 4’

this just happened to me. Rebuilding or restarting Eclipse didn’t help.

I solved it by renaming one of the test methods to start with “test…” (JUnit3 style) and then all tests are found. I renamed it back to what it was previously, and it still works.

Leave a Comment