Junit测试中找不到junit.framework.testcase

在使用Junit进行测试时,出现如下问题:

找不到junit.framework.testcase

 解决方法:

选中项目->属性->Java构建路径->库->添加外部jar

在eclipse的安装目录中找到

eclipse/plugins/org.junit_3.8.1/junit.jar

添加上就可以了。

原文地址:https://www.cnblogs.com/wuchanming/p/5157142.html