Learn about static testing techniques for ISTQB Certified Tester Foundation Level (CTFL)
3.1 Reviews and the Test Process
Static techniques, such as reviews, evaluate work products (e.g., requirements, design, code) without executing them. Reviews are a critical part of the test process, identifying defects early, improving quality, and reducing costs compared to finding defects during dynamic testing.
Benefits of Reviews:
Early defect detection
Improved product quality
Reduced development and testing costs
Enhanced team collaboration
3.2 Review Process
The review process involves structured steps to evaluate work products effectively:
Planning: Define objectives, scope, and participants for the review.
Kick-off: Brief participants on the review goals and process.
Individual Preparation: Reviewers examine the work product individually to identify defects.
Review Meeting: Discuss findings, log defects, and agree on actions.
Rework: Author corrects identified defects.
Follow-up: Verify corrections and close the review.
Types of reviews include informal reviews, walkthroughs, technical reviews, and inspections, each varying in formality and structure.
Key Point: The review process is adaptable based on the project’s needs and formality level.
3.3 Static Analysis by Tools
Static analysis involves using automated tools to examine code or other work products without execution. Tools detect issues like coding standard violations, syntax errors, or potential vulnerabilities.
Examples of Issues Detected: Unreachable code, undefined variables, security risks.
Benefits: Faster analysis, consistent results, and early defect identification.
Limitations: Tools may produce false positives and cannot assess runtime behavior.
Note: Static analysis complements reviews but does not replace human judgment.
Chapter Review
This chapter covers static testing techniques for the ISTQB CTFL syllabus, including the role of reviews in the test process, the structured review process, and the use of static analysis tools. These techniques help identify defects early, improving quality and efficiency.
Sample Exam Questions
Test your knowledge with these sample questions:
What is the main difference between static and dynamic testing?
Name the six steps of the review process.
What types of defects can static analysis tools detect?
Why are reviews considered cost-effective in the test process?
Answers:
Static testing evaluates work products without execution, while dynamic testing involves running the system.