摘要: 今天写了个单元测试,然后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) 编辑