
TestNG
LLYJ666666
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TestNG
. 介绍 TestNG是一个设计用来简化广泛的测试需求的测试框架,从单元测试(隔离测试一个类)到集成测试(测试由有多个类多个包甚至多个外部框架组成的整个系统,例如运用服务器)。 编写一个测试的过程有三个典型步骤: * 编写测试的 业务逻辑并在代码中插入TestNG annotation * 将测试信息添加到testng.xml文件或者build.xm转载 2015-03-01 23:36:03 · 890 阅读 · 0 评论 -
TestNG实例
用TestNG测试方法是否正确的一个例子 1、在Eclipse中新建一个TestLogin的类,此类代码如下: package com.yxl.test; import static org.testng.AssertJUnit.assertTrue; import static org.testng.AssertJUnit.assertEquals; import org.转载 2015-03-11 15:40:40 · 770 阅读 · 0 评论