随笔分类 -  TestNG

 
4--TestNG测试报告
摘要:第一:自带测试报告(略) 第二:Reportng测试报告(略) 第三:ExtentReport--extentreports.com (1) pom.xml:不是总的pom,是文件夹下的pom <dependency> <groupid>com.relevantcodes</groupid> <ar 阅读全文
posted @ 2019-03-19 18:11 lzylh_56 阅读(148) 评论(0) 推荐(0)
3--TestNG多线程
摘要:第一: 注解方式 public class MultiThreadOnAnnotation{ @test(invocationCount=10,threadPoolSize=10) public void test(){ system.out.println("test1"); system.out 阅读全文
posted @ 2019-03-19 17:43 lzylh_56 阅读(122) 评论(0) 推荐(0)
2--TestNG 参数化
摘要:(1)XML文件 public class ParameterTest{ @test @Parameters({"name","age"}) public void paramTest1(Strng name, int age){ system.out.println("name="+name+"; 阅读全文
posted @ 2019-03-18 16:22 lzylh_56 阅读(121) 评论(0) 推荐(0)
1--Test NG--常见测试和注解
摘要:第一:注解 (1)@test (2)@BeforeMethod,@AfterMethod (3)@BeforeClass,@AfterClass (4)@BeforeSuite,@AfterSuite 第二:套件测试 (1) SuiteConfig:公共方法 public class SuiteCo 阅读全文
posted @ 2019-03-18 15:39 lzylh_56 阅读(348) 评论(0) 推荐(0)
1--Testng功能简介
摘要:https://www.yiibai.com/testng/parameterized-test.html 阅读全文
posted @ 2018-09-21 16:17 lzylh_56 阅读(143) 评论(0) 推荐(0)