3.1 Static Testing Basics
What is Static Testing?
Static testing:
- Examines work products without executing code
- Detects defects early
- Includes reviews and static analysis
핵심 문장 (시험 표현)
“Static testing can find defects without executing the software.”
Static vs Dynamic Testing
| Static Testing | Dynamic Testing |
|---|---|
| No execution | Code execution required |
| Reviews, inspections | Test execution |
| Early defect detection | Failure detection |
Work Products Reviewed
3.2 Feedback and Review Process
Benefits of Static Testing (★★★★★ 시험 단골)
Static testing helps to:
- Detect defects early
- Reduce cost of fixing defects
- Improve communication
- Improve product quality
- Identify inconsistencies and ambiguities
시험 함정
“Static testing finds failures” → ❌
Failures are found by dynamic testing
3.3 Review Types (★★★★★ MUST MEMORIZE)
Informal Review
- No formal process
- No roles defined
- Examples: ad-hoc review, pair programming
Walkthrough
- Author leads the meeting
- Used for learning and understanding
- Less formal
Technical Review
- Led by a trained moderator
- Focus on technical content
- Peer review
Inspection (Most Formal)
- Formal process
- Defined roles
- Entry/exit criteria
- Metrics collected
Exam favorite
“MOST formal review type” → Inspection
Review Roles (Very Important)
3.4 Review Process (Inspection Process)
Typical steps:
- Planning
- Initiation
- Individual review
- Review meeting
- Rework
- Follow-up
시험에서 “order” 문제로 자주 나옴
3.5 Static Analysis
What is Static Analysis?
- Automated examination of code
- Done without executing code
- Usually performed by tools
Typical Defects Found by Static Analysis
Static Analysis vs Dynamic Testing (Trap Area)
| Static Analysis | Dynamic Testing |
|---|---|
| Finds defects | Finds failures |
| No execution | Execution required |
| Early feedback | Later feedback |
Chapter 3 – 시험 직전 암기 포인트
반드시 기억:
- Static testing ≠ execution
- Reviews ≠ test execution
- Inspection = most formal
- Moderator ≠ Author
- Static analysis uses tools
VERY COMMON EXAM TRAPS
- “Static testing detects failures” ❌
- “Walkthrough is the most formal review” ❌
- “Reviewer fixes defects” ❌
- “Static analysis replaces dynamic testing” ❌
Tags
ISTQB
