How to customize the order of execution of tests in TestNG?
For example:
public class Test1 { @Test public void test1() { System.out.printl
To address specific scenario in question:
@Test public void Test1() { } @Test (dependsOnMethods={"Test1"}) public void Test2() { } @Test (dependsOnMethods={"Test2"}) public void Test3() { }