SWE 637 In Class Exercise #1
The Fault, Error, Failure Model


This is basically practice for the homework. We'll iterate until we've worked through the major issues.

Consider exercises 5 and 7 in Chapter 1 (2nd edition: pages 13-17). I will put the relevant code up for viewing on the screen. Focus on answering the questions:

  1. What is the fault?
  2. If possible, identify a test case that does not execute the fault.
  3. If possible, identify a test case that executes the fault, but does not result in an error.
  4. If possible, identify a test case that results in an error, but not a failure.
  5. Identify the first error state for the given test.