会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jean1
博客园
首页
新随笔
联系
订阅
管理
2017年8月19日
junit单元测试@Test报错的解决办法(转载http://blog.csdn.net/cktmyh/article/details/50503468)
摘要: 今天写了个单元测试,然后buildpath里add library选择了junit,然后出现了奇怪的现象,@Before、@After可以用,@Test就会报错(“Test is not an annotation type"),搜索了下,解决方案如下,不需要引入 import org.junit.
阅读全文
posted @ 2017-08-19 18:51 jean1
阅读(448)
评论(0)
推荐(0)
编辑
公告