We are executing group of around 200 testcases on daily basis using jenkins. after every build few of testcases are getting failed. so we want to execute those failed cases after postbuild action using testng-failed.xml .
The problem which we are facing is testng-failed.xml file is getting deleted when we do maven clean . could you please guide as how we can reexceute those failed testcase
Instructordemo Reply on 11/02/2019
You can build up a logic which uses an external file to set the status of the test case. Which you may use later to know the status of test cases and allow you to re-execute that as well.