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);...
A software whose failure may cause death or injuries to the users called Safety-Critical Software.The software present as part of Aeroplanes, or present in Rail as railway signalling software or Automotive...
Debugging is a step by step process of identifying the errors present in the code. The question here is what kind of mistakes? Usually errors are of two types.1. Syntax errors2. Logical errors.Syntax...
Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is defective and produces 900 gm sugar box. How you find the defective one?Note:...
Puzzle: A Milkman has 2 Empty Jugs and milkSize of- Jug A is 3 Ltr and Jug B is 5 LtrHow can he measure exactly one liter without wasting any milk?Solution:Step 1: Fill Jug A with...