SWE 437 In Class Exercise # 3
Fault, Error, Failure Model


Names:

Instructions: Work with your neighbors in groups. Let's consider faulty programs from Exercise 5 in Chapter 1. I'll put the code up on screen.
  1. What is the fault?




  2. If possible, find a test input that does not reach the fault.




  3. If possible, find a test input that reaches the fault, but does not result in an error.




  4. If possible, find a test input that results in an error, but not a failure.




  5. Find a test input that results in failure.




  6. What is the first error state in the last test case?