1.2 Why is Testing Necessary? Flashcards
What is the alternative to testing?
Involving a representative set of users as part of the development project.
Is testing a form of quality assurance or of quality control?
Quality control
What is Quality Control?
A product-oriented corrective approach focused on achieving the appropriate level of quality. It includes testing, model checking, simulation, and prototyping.
What is Quality Assurance?
A process-oriented preventive approach focused on implementing and improving processes. It’s basis is that if a good process is followed correctly, a good product will be generated.
How are test results used in Quality Control?
To fix defects
How are test results used in Quality Assurance?
To provide feedback on development and test processes
What is the relationship between errors, defects, and failures?
People make errors (mistakes), which produce defects (bugs), which may or may not result in failures during the use of the end product.
Why do people make errors?
- time pressure
- complexity of work
- tiredness
- lack of training
Where can defects be found?
- documentation (requirements, test scripts)
- source code
- supporting artifacts (build files)
Do defects always result in failures?
No. Some do, some only cause failures in specific circumstances, and some never cause failures.
Are defects the only cause of failures?
No. Failures can also be caused by environmental conditions.
What is a root cause?
The first factor that leads to a failure. The fundamental reason for the occurrence of a problem or error.