TestNG Tests Run Count after Retry.
Submitted by harrydev on Sun, 12/28/2014 - 09:28We have seen an example to Re-run failed tests using iRetryListener. In the previous example, the count of the tests run was changing based on the maxRetryCountvalue. To over come that, we need to add the below code snippet for onFinish method by implementing 'ITestListener'