1 package test.configuration; 2 3 import org.testng.annotations.BeforeSuite; 4 import org.testng.annotations.Test; 5 6 public class SuiteTest extends BaseSuiteTest { 7 @BeforeSuite(dependsOnMethods={"beforeSuiteParent"}) beforeSuiteChild()8 public void beforeSuiteChild(){ 9 m_order.add(2); 10 } 11 12 // @AfterSuite(dependsOnMethods={"afterSuiteParent"}) 13 // public void afterSuiteChild(){ 14 // m_order.add(4); 15 // System.out.println("AFTER SUITE CHILD"); 16 // } 17 18 @Test test1()19 public void test1(){ 20 m_order.add(3); 21 } 22 } 23