testng依赖,顺序,跳过
依赖测试
@test(dependsOnMethods = {"open"})
@test
public static void open{
System.out.println("1111");
}
================================================
特定顺序执行
public clsss xx{
@Test(priority = 2)
public void test3(){
System.out.println("");
}
}
===================================================
跳过某个测试方法
@Test(priority = 1,enabled = false)
================================================