blob: 8de1183781040e82b41fe3370f61850a4fe0a18a [file] [log] [blame]
package test.tmp;
import org.testng.annotations.Configuration;
import org.testng.annotations.Test;
public class ChildTest extends ParentTest {
@Configuration(beforeTestMethod = true)
public void btm2() {
ppp("CHILD BEFORE TEST");
}
@Configuration(afterTestMethod = true)
public void atm2() {
ppp("CHILD AFTER TEST");
}
@Test
public void t1() {
ppp("TEST CHILD");
}
private void ppp(String string) {
System.out.println("[Parent] " + string);
}
}