📜  testng 重新运行失败的测试 - 无论代码示例

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

代码示例1
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".