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)

================================================

posted @ 2016-12-12 17:07  "花田李氏  阅读(376)  评论(0编辑  收藏  举报