📌  相关文章
📜  在 testng 中运行失败的测试用例 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:19.949000             🧑  作者: Mango

代码示例2
I would use testng-failed.xml file to execute
failed test cases
1. After the first run of an automated test run.
Right click on Project and click on Refresh

2. A folder will be generated named
“test-output” folder. Inside “test-output”
folder, you could find “testng-failed.xml”

3. Run “testng-failed.xml” to execute 
the failed test cases again. Right-click
on this file and click on run as and 
select the option called "testNG suite".