How to customize the order of execution of tests in TestNG?
For example:
public class Test1 { @Test public void test1() { System.out.printl
In case you happen to use additional stuff like dependsOnMethods, you may want to define the entire @Test flow in your testng.xml file. AFAIK, the order defined in your suite XML file (testng.xml) will override all other ordering strategies.
dependsOnMethods