01: package test.groupinvocation;
02:
03: import org.testng.annotations.BeforeGroups;
04:
05: /**
06: * This class/interface
07: */
08: public class FailingBeforeGroupMethod {
09: @BeforeGroups(groups={"A"})
10: public void beforeGroupA() {
11: throw new RuntimeException(
12: "Failing @BeforeGroups beforeGroupA method");
13: }
14: }
|