I have a strange issue with JUnit 4 tests in Eclipse 3.5 that I couldn't solve - any hints gratefully received!
Initially: I had a test suite working properly, with 100+ tests all configured with JUnit 4 annotations. I'd run these typically by right clicking on my source folder and selecting "Run as JUnit test". All worked perfectly.
Now: When I try to run the test messages all I get is an error "No tests found with test runner 'JUnit 4'".
Any idea what is happening? I simply can't work out what could have changed to make this fail.
My guess is that it is some configuration issue based on the build path or class path?
Had this issue too, doing a "Project --> Clean" and then trying to run the unit tests as usual already did it!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With