2021年8月1日
摘要: 地址:https://repo1.maven.org/maven2/com/github/dreamhead/moco-runner/ 下载:moco-runner-0.11.0-standalone.jar 配置 java -jar ./moco-runner-0.11.0-standalone. 阅读全文
posted @ 2021-08-01 21:59 thy520 阅读(49) 评论(0) 推荐(0) 编辑
摘要: pom.xml <dependencies> <dependency> <groupId>com.relevantcodes</groupId> <artifactId>extentreports</artifactId> <version>2.41.1</version> </dependency 阅读全文
posted @ 2021-08-01 19:33 thy520 阅读(161) 评论(0) 推荐(0) 编辑
摘要: package com.Paramter;import org.testng.annotations.Test;public class timeTest { @Test(timeOut = 2000) public void timeSuccesTest()throws InterruptedEx 阅读全文
posted @ 2021-08-01 17:50 thy520 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 异常测试 package com.suite;import org.testng.annotations.Test;public class ExpectedTest { @Test(expectedExceptions = RuntimeException.class) public void r 阅读全文
posted @ 2021-08-01 16:21 thy520 阅读(62) 评论(0) 推荐(0) 编辑