摘要: package com.course.testng; import org.testng.annotations.*; public class BasicAnootation { //最基本的注解 用来把方法标记为测试的一部分 @Test public void testCase1(){ Syst 阅读全文
posted @ 2023-08-12 22:12 在于折腾 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1,TestNG的介绍: TestNG的介绍: 适合测试人员使用的原因: 比junit涵盖功能更全面的框架 junit更适合隔离性比较强的单元测试 testNG更适合复杂的集成测试 2,TestNG的使用:pom文件中引入TestNG <dependencies> <dependency> <gro 阅读全文
posted @ 2023-08-12 21:51 在于折腾 阅读(45) 评论(0) 推荐(0) 编辑