Junit工具做单元测试

eclipse 创建Junit单元测试之后,提示:
Junit工具做单元测试

问题原因:没有导入Junit的 library
解决方法:
在项目上点击右键--->Properties--->Java Build Path--->(Libraries标签)add Library-->JUnit4 -->Next-->Finish

猜你喜欢

转载自blog.51cto.com/9607474/2117471
今日推荐