摘要: JUnit 4全面引入了Annotation来执行我们编写的测试。 关于JUnit 3的使用可以参见:http://www.cnblogs.com/mengdd/archive/2013/03/26/2983565.html 使用JUnit 4进行测试: 1.新建项目,引用JUnit 4类库。 2. 阅读全文
posted @ 2016-04-06 15:28 赵无双 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 今天在学习junit4测试的时实现例子的时候,当我在java build path加入junit4的包之后,eclipse显示了一个warning, Classpath entry org.eclipse.jdt.junit.JUNIT_CONTAINER/4 will not be exporte 阅读全文
posted @ 2016-04-06 15:08 赵无双 阅读(2275) 评论(0) 推荐(0) 编辑