Module 2. Advanced testing · Lesson 11 of 41 · 12 min
Risk-based testing: what to test first
The risk matrix, the cost of a defect by phase and how to spend limited testing time.
There's always less time than checks
A full regression of a large product takes days, and the release is tomorrow. Risk-based testing answers one question: what do we check so the most expensive defects never reach users?
Risk = likelihood × impact
- Likelihood of a defect is higher where there are fresh changes, complex logic, new technology, a history of bugs, or several teams working in one module.
- Impact is higher where money, personal data, legal requirements, a key user journey or a large number of users are involved.
| Zone | What we do |
|---|---|
| Red (high × high) | Detailed cases, negative and boundary scenarios, full regression around the change, automation |
| Yellow | Main scenarios plus selected negative ones |
| Green | Smoke or an exploratory pass |
Why it pays off
A defect found late costs far more. The exact multipliers vary between studies, but the order of magnitude is stable: a fix in production means a hotfix, customer communication and sometimes refunds or credits.
How to roll it out in one sprint
- List the product's modules and rate each one's likelihood and impact on a 1–3 scale.
- Add the release context: what changed and what depends on the changes.
- Prioritize test cases: critical / high go into the red zone.
- Agree with the PO on what is deliberately tested less — that's a team decision, not QA's alone.
- After the release, compare where defects actually appeared and adjust the ratings.
A risk register is a living document. A module nobody touched for a year turns red the moment it's rewritten.
It's convenient to keep case priority right in the test set — in QA Tools, priority filters and a smoke suite of critical/high cases are built automatically.
Key takeaways
- Risk is the likelihood of a defect multiplied by its business impact.
- The red zone gets the deepest testing; the green zone gets smoke or exploration.
- Testing priorities are agreed with the team and revisited after the release.
Check yourself
1. Checkout was rewritten for a new payment provider. Which risk zone?
2. What increases the likelihood of a defect?
3. Who decides to test an area less?