I recently purchased a mac and am trying to get junit tests working on Eclipse. I am using the latest Galileo, but for some reason there is no option to "run as junit" on the tests. What am I doing wrong? There's no JUnit view panel either. However I went into the "About Eclipse" thing and it said JUnit is installed. I also port installed junit.
A:
Are you in the right perspective? JUnits show up for me.
Edit:
You can try opening the runtime configuration menu (do Run>Run as...) and see if JUnit shows up. If not, try running a software update and pull JUnit down.
Malaxeur
2009-11-10 20:15:14
+2
A:
I accidentially downloaded the wrong distribution, which did not contain junit. Consider getting the JEE edition - it has junit.
Thorbjørn Ravn Andersen
2009-11-10 20:44:37
thanks I installed JEE and it worked out :)
Sam
2009-12-07 03:03:33
A:
Is your test project configured to use the correct version of junit? Check the java build path of the project.
Also are you tests specified correctly? Using the @Test annotation for junit 4 etc? I just hit this problem a few minutes ago.
iain
2009-11-11 16:12:21