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.
-
What is the fault?
-
If possible, find a test input that does not reach the fault.
-
If possible, find a test input that reaches the fault, but does not result in an error.
-
If possible, find a test input that results in an error, but not a failure.
-
Find a test input that results in failure.
-
What is the first error state in the last test case?