blob: 8ae3f3134776b82fdded824b465ef74ccfafa6fd [file] [log] [blame]
package test.configurationfailurepolicy;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class ClassWithFailedBeforeMethodAndMultipleTests {
@BeforeMethod
public void setupShouldFail() {
throw new RuntimeException("Failing in setUp");
}
@Test
public void test1() {
}
@Test
public void test2() {
}
}