Chapter 1 Testing Principles Flashcards
A specific section devoted to these concepts from Chapter 1
Testing Principles
Name the Seven Principles
- Shows presence, not absence, of defects
- Defects cluster together
- Absence-of-defects fallacy
- Early testing saves resources
- Exhaustive testing is impossible
- Tests wear out
- Testing is context dependent
Testing Principles
What do tests expose?
The presence of defects. (Not the absence of defects)
Testing Principles
What is the Pareto Principle?
Predicted and actual defect clusters observed during testing are key input for risk-based testing
Test Principles
What is the Absence-of-defects fallacy?
The misconceptions that software verification can ensure:
* The success of the system
* Business expectations will be met
Validation needs to be carried out as well.
Testing Principles
Early testing saves time and money. Why?
- Defects that are removed early will not cause more defects later on.
- Failures will be reduced
(Extra Credit: Both static and dynamic testing should be used to detect defects)
Testing Principles
Why is exhaustive testing impossible?
Testing everything is not possible.
Instead, utilize:
* Prioritization
* Risk-based testing
Testing Principles
Why do tests wear out?
If tests are repeated too much, they lose their effectivity.
However, such tests can be used as regression tests.
Testing Principles
What is context dependence for tests?
There is no universality to testing approaches
Testing Principles
What is context dependence for tests?
There is no universality to testing approaches
Testing Principles
What do tests expose?
The presence of defects. (Not the absence of defects)
Testing Principles
Testing shows the absence of defects
True/False
False