CH8 [in final] Flashcards
Software testing
__________ is intended to show that a program does what it is intended to do and to discover program defects before it is put into use.
Testing
T/F: When you test software, you execute a program using artificial data.
True
T/F: Testing can reveal the abscence of errors NOT their prescence
F, can reveal the presence of errors NOT their absence
_______ is part of a more general verification and validation process, which also includes static validation techniques.
Testing
One of the goals of ________ is to demonstrate to the developer and the customer that the software meets its requirements.
This goal leads to __________ testing.
Program testing, Validation
One of the goals of ________ is to discover situations in which the behavior of the software is incorrect, undesirable or does not conform to its specification.
This goal leads to __________ testing.
Program testing, Defect
You expect the system to perform correctly using a given set of test cases that reflect the system’s expected use.
This describes ___________.
Validation testing
The test cases are designed to expose defects, and can be deliberately obscure and need not reflect how the system is normally used.
This describes ____________ testing.
Defect testing
T/F: A successful defect test is a test that makes the system perform incorrectly.
T, and so it exposes a defect in the system.
To discover faults or defects in the software where its behaviour is incorrect or not in conformance with its specification.
This describes _________.
Defect testing
For (verification/validation), the software should conform to its specification.
verification
For (verification/validation), The software should do what the user really requires.
validation
“Are we building the right product”.
This describes (validation/verification)
validation
__________ is software inspections Concerned with analysis of the static system representation to discover problems
Static verification
__________ is software testing Concerned with exercising and observing product behaviour
Dynamic verification
____________ involve people examining the source representation with the aim of discovering anomalies and defects.
Software inspections
T/F: Software inspections require execution of a system and cannot be used before implementation.
F, they do not require execution of a system and may be used before implementation
T/F: Because inspection is a static process, you don’t have to be concerned with interactions between errors.
True.
T/F: Inspections and testing are opposing verification techniques.
F, they are complementary and not opposing verification techniques.
T/F: Inspections and testing should be used during the V & V process
True.
T/F: Inspections can check conformance with a specification but not conformance with the customer’s real requirements.
True.
Inspections cannot check __________ characteristics such as performance, usability, etc.
non-functional
Name the 3 stages of testing.
1- _____________ where the system is tested during development to discover bugs and defects.
2- _____________ where a separate testing team test a complete version of the system before it is released to users.
3- _____________ where users or potential users of a system test the system in their own environment.
Development testing, Release testing, User testing
__________ includes all testing activities that are carried out by the team developing the system.
Development testing
___________, where individual program units or object classes are tested. It should focus on testing the functionality of objects or methods.
Unit testing
____________, where several individual units are integrated to create composite components. It should focus on testing component interfaces.
Component testing