How to get jUnit working?


I created a JUnit test in IDEA 9.0.3 using the "Go To...Test". It's not obvious how else to create a test since it doesn't appear on the File...New... (or other menus that I found).

In any case, IDEA does create a new test, but when I try to run it, I get the error that "package junit.framework does not exist"

Since the JUnit plug-in says it's installed with the basic plug-ins, I'm probably setting up JUnits incorrectly.

Could anyone let me know how I can correctly create JUnit tests from IDEA?


-- M

1 comment
Comment actions Permalink

Fixed. I didn't realize I needed to downlaod the Junit framework JAR.

Working now.

-- M


Please sign in to leave a comment.