Ch. 8: Software testing Flashcards
What are the goals of testing software?
- Demonstrate to the developer and the customer that the software meets its requirements
- Discover situations where the behavior of the software is incorrect, undesirable or doesn’t conform to its specification
What does your first goal lead to?
Validation testing
What does your second goal lead to?
Defect testing
What does validation testing do?
Demonstrates that the software meets its requirements
What does defect testing do?
Discovers faults of defects in the software where it’s behavior is incorrect with it’s specification
What does a successful validation test show?
That the system operates as intended
What does a successful defect test show?
Exposes a defect in the system
What is the difference between verification and validation?
Verification: Software should conform to its specification
Validation: Software should do what the user really requires
What is the aim of verification and validation?
To establish confidence that the system is fit for purpose
What is software inspections concerned with?
The analysis of the static system representation to discover problems
What is software testing concerned with?
Exercising and observing product behavior
What are the advantages of inspections?
- Don’t have to be concerned with interactions between errors
- Incomplete versions of a system can be inspected without additional costs
- Can consider broader quality attributes of a program
What verification techniques should be used during the verification and validation process?
- Testing
- Inspections
What are the stages of testing?
- Development testing
- Release testing
- User testing
What is development testing?
System is tested during development to discover bugs and defects