# my_testng **Repository Path**: a_cloud/my_testng ## Basic Information - **Project Name**: my_testng - **Description**: testng测试项目 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: https://yiduoyun.space/archives/testng--%E5%A4%B1%E8%B4%A5%E7%94%A8%E4%BE%8B%E9%87%8D%E8%B7%91%E6%9C%BA%E5%88%B6 - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-06-09 - **Last Updated**: 2023-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # my_testng #### 介绍 testng 重跑演示项目 #### 软件架构 JAVA + TestNG + ExtendReport #### 博客地址 https://yiduoyun.space/archives/testng--%E5%A4%B1%E8%B4%A5%E7%94%A8%E4%BE%8B%E9%87%8D%E8%B7%91%E6%9C%BA%E5%88%B6 ### 内容介绍 重跑策略:测试用例执行失败后,记录下来,等所有用例都跑完后再进行重跑。 1. 使用了ExtendReport美化测试报告 2. 重写了FailedReport减少了错误报告内容 3. 基于IExecutionListener的onExecutionFinish()方法,监听用例执行完成事件,并在内编写重跑逻辑。