摘要: 一、初始化标注在老Junit4提供了setUp()和tearDown(),在每个测试函数调用之前/后都会调用。@Before:Method annotated with @Before executes before every test.@After: Method annotated with ... 阅读全文
posted @ 2014-07-30 21:15 黎明露珠 阅读(203) 评论(0) 推荐(0) 编辑
摘要: package com.lt.Demo.TestDemo;import java.util.Arrays;import java.util.Collection;import org.junit.After;import org.junit.AfterClass;import org.junit.B... 阅读全文
posted @ 2014-07-30 21:08 黎明露珠 阅读(732) 评论(0) 推荐(0) 编辑