1 package test.dependsongroup;
2 
3 import org.testng.annotations.Test;
4 
5 @Test(groups = { "first" }, dependsOnGroups = { "zero" })
6 public class FirstSampleTest {
7 
8   @Test
firstA()9   public void firstA() {
10 //    System.out.println("firstA");
11   }
12 
13   @Test
firstB()14   public void firstB() {
15 //    System.out.println("firstB");
16   }
17 
18 }
19 
20