Search code examples
javaeclipseeclipse-3.6

"Run as JUnit" is not appearing in Eclipse Helios?


I am trying to run the test case in Eclipse Helios. I have added all the jar files and have written @Test also, but I am not getting the "run as JUnit" option in Eclipse; Instead I am getting "run as java applet" and "run as java application".

I have tried changing versions, restarting eclipse, and none of the solutions are working fine... How can I resolve this and get "run as JUnit"?


Solution

  • Have created new workspace and added junit libraries first to build the path and then created test case files got run as junit test case.