Test metrics, risk-based testing and sign-off
Software Testing Fundamentals · 8 questions
Short notes
Key idea
Answer "are we ready?" with metrics, an honest view of remaining risk, and a recommendation. When time is short, test by risk (likelihood × impact). QA recommends; the business owner decides.
Syntax
Progress = executed ÷ planned × 100
Pass rate = passed ÷ executed × 100
Coverage = requirements with a test ÷ all requirements × 100
DRE = found before release ÷ (before + after) × 100
Leakage = found after release ÷ (before + after) × 100
Density = defects ÷ size (per table, per rule, per 1,000 lines)
Risk score = likelihood (1-3) × impact (1-3)
Example
60 planned, 60 run, 58 passed: progress 100%, pass rate 96.7%. One High defect open and the exit criteria allow none: recommend no-go until it's fixed, list the risk if the business goes anyway. After release, 11 found before and 1 after: DRE 91.7%, leakage 8.3%.
Traps
- Pass rate over planned instead of executed cases.
- Treating coverage as quality.
- Metrics without their formula.
- Testing everything equally when time is short.
- Saying "go" because the deadline arrived.
Want the full lesson with step-by-step examples, a project and a certificate? Software Testing Fundamentals course, ₹120 →
Questions
5 free questions- Question 1easy
60 cases are planned, 50 have run, and 45 passed. What is the pass rate?
- Question 2medium
The mapping document has 20 rules; 18 have at least one test case. What is requirement coverage, and what does it not tell you?
- Question 3medium
Testing found 36 defects; users found 4 more after release. What is the DRE?
- Question 4medium
Testing found 45 defects; 5 more were found in production. What is the defect leakage?
- Question 5medium
Table A has 12 mapping rules and 6 defects. Table B has 4 rules and 4 defects. Which needs more testing next release, by defect density?
Test metrics, risk-based testing and sign-off
Test metrics, risk-based testing and sign-off
Test metrics, risk-based testing and sign-off
Test metrics, risk-based testing and sign-off
Test metrics, risk-based testing and sign-off
3 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.