Software Testing Flashcards
what is the prepose of testing?
1- to show that a program does what it is suppose to do
2- discover program defects
When you test software, you execute a program using …. WHAT?
artificial data
in program testing You check the results of the test run for errors, anomalies or information about the program’s (functional OR non-functional) attributes?
non-functional
T/F in program testing it Can reveal the presence of errors NOT their absence.
T
Testing is part of a more GENERAL …………… and …………..process
verification and validation
Testing is part of a more general verification and validation process, which also includes ……….. …………. Techniques
static validation.
Program testing goals are:
- to show the developer and customer that the software meets requirements
- identify cases where the software behaves incorrectly, undesirably , not to its specification
for which software (custom / generic) is that there should be at least one test for every requirement in the requirements document.
Custom Software
for which software (custom / generic) is that there should be tests for all of the system features, plus combinations of these features, that will be incorporated in the product release.
Generic software
DEF is concerned with rooting out undesirable system behavior:
Defect testing
what is the first goal in program testing to….. WHAT?
validation testing
(defect or validation) testing expect the system to perform correctly using a given set of test cases that reflect the system’s expected use?
validation testing
(defect or validation) testing The test cases are designed to expose defects?
defect testing
the test cases in (defect or validation) testing can be deliberately obscure and need not reflect how the system is normally used?
defect
in validation testing:
You expect the system to perform correctly using a given set of …….. …….. that reflect the system’s expected use
test cases
why are you giving a set of test cases in validation testing?
to reflect the system’s expected use.
(defect or validation) testing
Demonstrates to the developer and customer that the software meets requirements.
validation
(defect or validation) testing
A successful test shows the system works as intended.
validation
(defect or validation) testing
Identifies faults where behavior is incorrect or deviates from the specification.
defect
(defect or validation) testing
Identifies faults where behavior is incorrect or deviates from the specification.
defect
in (Verification vs validation) we ask “Are we building the product right”. ?
verfication
(Verification vs validation)
The software should conform to its specification.
verification
in (Verification vs validation) we ask
“Are we building the right product”?
validation
Verification vs validation
The software should do what the user really requires.
validation
a ………test [in defect testing] is a test that makes the system perform incorrectly and so exposes a defect in the system.
Successful
DEF Concerned with analysis of the static system representation to discover problems:
Software inspections
Software inspections May be supplement by ………. ……………… and ……. ……………
tool-based document and code analysis.
DEF Concerned with exercising and observing product behavior:
Software testing
Software (inspections or testing) is called static verification?
Inspection
Software (inspections or testing) is called dynamic verification?
testing
DEF These involve people examining the source representation with the aim of discovering anomalies and defects:
Software inspections
T/F Software Inspections not require execution of a system so may be used before implementation.
T
They have been shown to be an effective technique for discovering program errors.????
Software inspections
During (متى؟), errors can mask (hide) other errors
testing
Advantages of inspections: (3)
- Prevent hidden errors through static analysis, avoiding error interactions.
- Can inspect incomplete systems without needing costly test setups.
- Identify defects and evaluate broader qualities like compliance, portability, and maintainability.
in inspection If a program is incomplete, then you need to develop ……………. …………….to test the parts that are available.
test harnesses
T/F :Inspections and testing are complementary and not opposing verification techniques.
T
T/F: Inspections and testing Both should be used during the V & V process.
T
DEF: can check conformance with a specification but not conformance with the customer’s real requirements:
inspections
DEF CANNOT check non-functional characteristics such as performance, usability, etc:
inspections
name the three stages of testimg:
- Development testing
- Release testing
- User testing
which testing stage is “where the system is tested during development to discover bugs and defects.” ?
Development testing
which testing stage is “where a separate testing team test a complete version of the system before it is released to users.”?
Release testing
which testing stage is “where users or potential users of a system test the system in their own environment.”
user testing
DEF includes all testing activities that are carried out by the team developing the system.
development testing
what are the three kind of testing in development testing?
unit, component, system testing
which development testing part is “where individual program units or object classes are tested.”
unit testing
Unit testing should focus on testing the functionality of what?
object or methods
which development testing part is “where several individual units are integrated to create composite components”
component testing
Component testing should focus on testing what?
component interfaces.
which development testing part is “, where some or all of the components in a system are integrated and the system is tested as a whole”
System testing
System testing should focus on testing What?
component interactions
DEF the process of testing individual components in isolation:
unit testing
Unit testing is a (defect or validation) testing process????
DEFECT