I have a Junit test class with multiple @Test methods in it that I need to run in order. If there is an exception thrown in a method I would like to stop entire test case and error out, but all of the rest of the test methods running.

public class{

@Test{
 //Test1 method`enter code here`
}

@Test{
 //Test2 method
}

@Test{
 //Test3 method
}

}

If Test1 method fails then don't run other Tests

Note: All are independent tests

Edit
Report