How to force TestNG create new instance of test class for each method if run mode is parallel=\"methods\"?
parallel=\"methods\"
JUnit does it automatically but TestNG reuses
I've used TestNG to run multiple selenium webdriver tests in parallel. To set up a new WebDriver for each method, use the @DataProvider annotation and its associated attribute in the @Test annotation.