Order of execution of tests in TestNG

前端 未结 17 2666
情书的邮戳
情书的邮戳 2020-11-27 12:46

How to customize the order of execution of tests in TestNG?

For example:

public class Test1 {
  @Test
  public void test1() {
      System.out.printl         


        
17条回答
  •  抹茶落季
    2020-11-27 13:21

    By using priority paramenter for @Test we can control the order of test execution.

提交回复
热议问题