Question
①Identify the fault.
Software Fault: A static defect in the software
Software Failure: External, incorrect behavior with respect to the requirements or other description of the expected behavior
Software Error: An incorrect internal state that is the manifestation of some fault
②If possible, identify a test case that does not execute the fault. (Reachability)
test: x= NULL; y = 0
test: x= NULL
③If possible, identify a test case that executes the fault, but does not result in an error state.
test: x=[2, 3, 5]; y = 2
test: x= [0, 1, 0]
④If possible identify a test case that results in an error, but not a failure.
test: x=[2, 3, 5]; y = 1
test: x= [1, 0, 1]