public class dependsonM {
@Test
public void login() {
System.out.println("login");
}
@Test (dependsOnMethods = {"login"})
public void email() {
//Intentionally I am failing this testcase
Assert.assertTrue(false);
System.out.println("logout");
}
@Test (dependsOnMethods = {"login", "email"})
public void logout() {
System.out.println("logout");
}
}