开发者

Unable to create new junit test case in helios

开发者 https://www.devze.com 2023-02-28 13:04 出处:网络
I\'m currently using the Eclipse Helios IDK and have the newest JRE (1.6) installed. I have added both the 4.8 and 4.9 versions of the junit jar to the build path. However, whenever I right click>new

I'm currently using the Eclipse Helios IDK and have the newest JRE (1.6) installed. I have added both the 4.8 and 4.9 versions of the junit jar to the build path. However, whenever I right click>new there is not an option to create a junit test case like you would expect. Even after going to other>java and every other directory within other I couldn't find the option to create a test case开发者_如何学JAVA. Do I need to get a plugin in order to initialize these .jar files?

Thanks for any help in advance!


By default (and in my Helios, too) JUnit Test Case should be available even if no JUnit jar is in your classpath. Eclipse then asks to add the JUnit jar to the classpath.

Try removing the jars and start the "New.." wizard again.

Unable to create new junit test case in helios

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号