Professional Documents
Culture Documents
Definitions
Fault
An incorrect definition or process in the software
Failure
An observable violation against the specifications
Verification
Debugging
Cost of fixing a fault
Testing
An attempt to reveal errors
Proving
Proving the correctness of the program
Design
Coding
Testing
Operation
7 8
Testing
Proving Complexity
demonstrates the presence of fault does not demonstrate the absence of fault
Testing
Debugging
Quality
10
Main Problems
Reliable Test Set Problem Oracle Problem
11
12
Oracle Problem
An oracle is a mechanism to verify against the correctness of the computed output Oracle Problem no oracle or practically infeasible to apply the oracle
Testing Activities
Define the objectives Design the test cases Generate the test cases Execute the test cases Analyze the test results
13
14
Error Analysis
What Where When What was done incorrectly Why was not detected earlier How was the error found
15
Some Guidelines
Analyze and think carefully Errors tend to cluster Not just fix one instance of the error Correction may give rise to new errors Avoid experimentation Explain the problems to others
16
Acceptance test
18
References:
Pfleeger, S. L., Software Engineering, Chapters 7-8. Myers, G., Software Reliability: Principles & Practices, Chapter 2.
Bottom-up
Need to define drivers
Hybrid
19 20