I have 3 test classes for a particular package from my main application. My first test class is running just fine, the other 2 aren't.
When I try to run those 2 tests, I get the following error:
Instrumentation run failed due to 'java.lang.ClassNotFoundException'
I already verified:
- if the build path was properly configured,
- if the target package is correct,
- if I had problems with importing jUnit.
Any guess about what the problem is?
-----//-----
Solution:
I changed the version of jUnit I was using and the tests perform as they should.