Chapter 2 Flashcards
What is the purpose of static testing?
To find defects in software work products early in the software process.
What are the two main categories of static testing techniques?
Static verification and static analysis.
True or False: Static testing can be done without executing the code.
True.
What is the main focus of static analysis?
To find issues in the software work products by analyzing the code or documentation.
What are the benefits of static testing?
Early defect detection, cost-effectiveness, and improved software quality.
What is the purpose of dynamic testing?
To find defects in the software by executing the code.
What are the two main categories of dynamic testing?
Functional testing and structural testing.
True or False: Dynamic testing requires executing the code.
True.
What is the main focus of functional testing?
To verify that the software functions according to the specified requirements.
What is the main focus of structural testing?
To verify the internal structure or design of the software.
What is the purpose of test design techniques?
To identify test conditions and design test cases.
What are the two main categories of test design techniques?
Black-box testing and white-box testing.
True or False: Test design techniques help in selecting test cases that have a high probability of finding defects.
True.
What is the main focus of black-box testing?
To test the functionality of the software without knowing its internal code structure.
What is the main focus of white-box testing?
To test the internal code structure, paths, and conditions of the software.