摘要: Junit4与Junit3的区别 1:在Junit3中需要继承TestCase类,但在Junit4中不需要 2:Junit3中需要重写TestCase中的setUp和tearDown方法,而在Junit4中,只需要在方法的前面加上@Before,@After 3:Junit3中测试方法前面要用“te 阅读全文
posted @ 2016-03-12 17:32 浩然~ 阅读(565) 评论(0) 推荐(0)