Software Testing Preliminaries Flashcards
How is correctness established?
Mathematical Proofs
What is the purpose of testing?
To find defects in the software
What is branch testing?
Execute each outcome of each decision point in a program
A review of a software work product, following defined procedures, by peers of the producers of the product for the purpose of identifying defects and improvements
Peer reviews
Selective retesting of a system or component to verify that modifications have not caused unintended effects and that the system or component still complies with its specified requirements
Regression Testing
The degree to which a system, component, or
process meets specified requirements
Quality
A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement
Test case
All the planned and systematic activities implemented within the quality system, and demonstrated as needed, to provide adequate confidence that an entity will fulfill requirements for quality
Quality assurance
Is the purpose of testing to demonstrate that software works?
No, it is to find defects in the software.
The “normal” development process will remove about __% of defects before they are ever counted
50
A person makes a _____ which becomes a ____ resulting at execution in a ____ which is wrong with some degree of ____
Mistake, fault, failure, error
Formal proof of program correctness
Verification
____ methods allow sets of requirements to be examined for completeness, consistency, and equivalence to another requirement set
Formal
____ methods result in ____ ____
Formal, formal, specifications
Quality attributes that refer to the code and related documentation
Static
Black-Box Testing
Functional Testing. Ignores the internal mechanism
White-Box Testing
Internal mechanism is known
Statement Testing
Execute each statement of a program
A static analysis technique in which a designer or programmer leads members of the development team and other interested parties through a segment of documentation or code, and the participants ask questions and make comments about possible errors, violation of development standards, and other problems
Walkthrough
Testing conducted on a complete, integrated system to evaluate the system’s compliance with its specified requirements
System Testing
Testing in which software components, hardware components, or both are combined and tested to evaluate the interaction between them
Integration Testing
Quality attributes that refer to the behavior of the application while in use
Dynamic
What is exhaustive testing?
Testing a program on all possible inputs
What is needed for a program to be considered correct?
Behaves as expected on each element of its input domain