摘要: Testng官网地址:https://testng.org/doc/documentation-main.html 1、@test:将类或方法标记为测试的一部分。 alwaysRun:如果设置为 true,则此测试方法将始终运行,即使它依赖于失败的方法。 dataProvider:此测试方法的数据提 阅读全文
posted @ 2021-06-29 11:25 小小小爸爸 阅读(354) 评论(0) 推荐(0)
摘要: Testng官网地址:https://testng.org/doc/documentation-main.html 1、在pox.xml文件中导入TestNG依赖 <dependency> <groupId>org.testng</groupId> <artifactId>testng</artif 阅读全文
posted @ 2021-06-29 11:02 小小小爸爸 阅读(2073) 评论(0) 推荐(0)
摘要: 本章讲解如何使用poi对excel文件的读取和写入 1、在pox.xml文件中导入依赖: <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.2</version 阅读全文
posted @ 2021-06-29 10:52 小小小爸爸 阅读(335) 评论(0) 推荐(0)