01: package test.dependent;
02:
03: /**
04: * This class exercises dependent groups
05: *
06: * @author Cedric Beust, Aug 19, 2004
07: *
08: */
09: public class SampleDependent1 {
10:
11: /**
12: * @testng.test groups="current,fail"
13: */
14: public void fail() {
15: assert false;
16: }
17:
18: /**
19: * @testng.test dependsOnGroups="fail"
20: */
21: public void shouldBeSkipped() {
22: }
23: }
|