JUnit4 tests not running

When trying to run any JUnit4 test (including the small guy below), IDEA fails with:


I've added the JUnit4 jar files to the module classpath. Do I need to do anything else?

Tobin

2 comments
Comment actions Permalink

Can't reproduce. See the attached project and screenshot.



Attachment(s):
junit4test.zip
snap568.png
0
Comment actions Permalink

Ahh, so that's it. Your project worked for me. The difference was that I had downloaded JUnit 4.2 and was using it, instead of the JUnit 4.0 that comes bundled with IDEA.

I found this bug http://www.jetbrains.net/jira/browse/IDEA-10457 and voted for it.

Thanks for the sample project.

Tobin

0

Please sign in to leave a comment.