For example TestNG retry listener
TestNG XML has below test cases, Test1, Test2 [dependent on Test1], Test3 [dependent on Test1]
Scenario: Test1 case failed in