testng-issue-retry-dataprovider The test could be run either by: Gradle gradle test Java. It has public static void main method.