📜  如何在 TestNG 中重新运行失败的测试? - 无论代码示例

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

代码示例1
● In my TestNG framework, failed tests are reported 
in the testng_failed_.xml file in the targetfolder.
● We can add this file in the pom file so that maven 
will try to run the failed tests every time.
● If will only run when there are failures in the test.