1 package test.failedreporter; 2 3 import org.testng.SkipException; 4 import org.testng.annotations.Test; 5 6 public class FailedReporterSampleTest { 7 @Test f2()8 public void f2() { 9 throw new RuntimeException(); 10 } 11 12 @Test f1()13 public void f1() { 14 throw new SkipException("Skipped"); 15 } 16 17 @Test f3()18 public void f3() { 19 } 20 21 } 22