![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
testng
csdn_金手指
做永远的自己,学无止境。。。
展开
-
转:TestNG官方文档中文版(02)—— Annotation
如下就是在TestNG中可以使用的annotation的速查预览,并且其中给出了属性:@BeforeSuite@AfterSuite@BeforeTest@AfterTest@BeforeGroups@AfterGroups@BeforeClass@AfterClass@BeforeMethod@AfterMethodTestNG 类的配置信转载 2014-06-19 23:23:32 · 682 阅读 · 0 评论 -
Junit与testng
1. JDK 5 Annotations (JDK 1.4 可以用JavaDoc代替).一个典型的Junit的测试类import junit.framework.TestCase; public class Jtest extends TestCase { protected void setUp() throws Excepti转载 2014-08-08 15:43:34 · 904 阅读 · 0 评论