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
Checkout Factory
From javadoc:
Marks a method as a factory that returns objects that will be used by TestNG as Test classes. The method must return Object[].