1 package test.dependent; 2 3 import org.testng.annotations.Test; 4 5 /** 6 * This class 7 * 8 * @author cbeust 9 */ 10 public class SampleDependentMethods5 { 11 12 @Test step1()13 public void step1() { 14 } 15 16 @Test(dependsOnMethods = { "step1", "blablabla" }) step2()17 public void step2() { 18 } 19 } 20