Risk-based testing: how to prioritise by impact and likelihood
Updated:
Risk-based testing helps a team decide what to examine first and how deeply when it cannot test everything equally. Priority comes not from which feature is newest or easiest to automate, but from the combination of a failure’s possible impact and its likelihood. The outcome should be an order of work that the team uses for planning.
Why giving everything the same priority fails
A list of features labelled “high priority” is not yet a test strategy. Sign-in, report exports, and profile-picture changes may all matter, but their failures do not have the same consequences. If the team checks them in the same way, it may spend its time on many simple cases while a critical payment or data-recovery path receives only superficial coverage.
The opposite extreme is to rely only on past defects. A feature with no recorded incident is not necessarily safe. It may change rarely, or nobody may have noticed its failure yet. Risk therefore needs two views: what happens if the feature fails, and what makes it more likely to fail now.
Build a simple impact and likelihood matrix
Start with user journeys and important outcomes rather than individual screens. For each item, write down a specific failure, such as “the customer pays but no order is created” or “an operator can see another customer’s data”.
Then assess two dimensions on a simple scale of low, medium and high:
- Impact: how many people the problem affects, whether it touches money or data, how quickly it can be corrected, and whether it has operational or regulatory consequences.
- Likelihood: how often the area changes, how many systems it connects, how complex it is, what its failure history shows, and how predictable its environment is.
Add one sentence explaining every rating. “High likelihood because interfaces between three services changed” is more useful than the number 9 on its own. When the team disagrees, the difference in reasoning often exposes a missing operational fact or an unclear requirement.
| Combination | Proportionate response |
|---|---|
| High impact, high likelihood | Verify at several layers, run checks after relevant changes, and define which failure stops a release. |
| High impact, low likelihood | Keep a thorough scenario and verify recovery. Low likelihood must not conceal a severe consequence. |
| Low impact, high likelihood | Prefer a fast check at a lower layer or a representative sample. |
| Low impact, low likelihood | Limit coverage, examine it through exploratory testing, or consciously accept the risk. |
Turn risk into a specific testing decision
The matrix determines more than order. Make four decisions for every risk:
- What evidence you need. Is a calculation or API contract check enough, or must the complete user journey be exercised?
- Which layer gives the clearest result. The test pyramid helps avoid copying every combination into slow end-to-end tests.
- When to run the check. On every pull request, before a release, on a schedule, or only when the risky area changes.
- Who evaluates the outcome. Without an owner, even a red result can become background noise.
Do not try to automate every item in the red part of the matrix. Some rare or difficult-to-prepare situations are better examined manually, through a recovery exercise, or by reviewing the process. It also helps to state consciously what is not worth automating.
Update the assessment regularly
Review a rating after an incident, a significant architecture change, a new supplier, or a change in a feature’s business importance. Use evidence that supports decisions: failures in critical journeys, defects escaping to production, test instability, and time to repair. A test count or pass rate without context belongs among the QA metrics that can mislead.
A risk rating is not proof that a defect will occur, nor a guarantee of complete coverage. It is a shared working assumption that should be explainable and challenged regularly.
Separate product risk from an obstacle to testing
“A customer sees someone else’s order” is a product risk. “We have not prepared test accounts” is a problem that may delay or limit testing. ISTQB CTFL, section 5.2 distinguishes product and project risks. Both need attention, but require different responses. Preparing accounts removes the obstacle, not a possible permissions defect.
Involve someone who understands the business impact, a developer familiar with the changes and a tester. Bring in operations or a security specialist where relevant. If evidence about likelihood is missing, mark the estimate as uncertain. Unknown likelihood must not automatically mean low priority.
An illustrative example for one release
Imagine a release that changes the payment integration, order permissions and the display of profile pictures. The following ratings illustrate a decision process, rather than a general ranking of those features:
| Specific failure | Evidence for the priority | Selected check |
|---|---|---|
| A confirmed payment is not assigned to the correct order | High impact on money and purchase fulfilment. The integration interface changed. | Check assignment within the integration and a representative journey in the provider’s supported test mode, including an unsuccessful outcome. |
| Customer A’s account displays customer B’s order | High impact on data. Access rules changed, but a more precise likelihood estimate is unavailable. | Check allowed and denied access through the API using prepared test accounts and orders, supplemented by UI behaviour checks. |
| A profile picture has an incorrect aspect ratio | In this example, a minor visual impact without changing data or permissions. | A targeted check of representative images, rather than the full payment regression. |
For the second risk, successful sign-in alone is insufficient. OWASP distinguishes authentication from authorisation and recommends testing access rules. The selected A/B check does not replace a complete security assessment. For the picture, we are assessing a display defect, rather than file-upload security, which may have a different impact.
Add an expected result and data setup to each selected check. For example, account A can see its own order and must not receive order B’s data. Failure to create test accounts does not demonstrate successful rejection of unauthorised access.
What to do when time is limited
First, identify which agreed release conditions remain unmet. Distinguish a discovered defect from an unexecuted test or an inconclusive result. All may require action, but do not provide the same information.
Then consider reducing the change’s scope, postponing the risky part or adding proportionate checks. A manual check is an option only when the data, time and a capable person are available. Monitoring after deployment may help with detection and response, but will not prevent every consequence. Data that has already been disclosed cannot be taken back.
If you accept the remaining risk, record its exact scope, the reason, responsible person, temporary measure and next review date. The matrix does not replace binding requirements or authority to approve a release. Acceptance must not happen merely because a risk fell below a numerical threshold.
Check whether priorities changed the testing
For each important risk, show the executed check, result, identified limitation and next step. A link to a test in the repository is not evidence that it ran against the relevant change. Nor does a passing test automatically reduce risk to zero.
After releases, compare new incidents with the original estimates. Establish whether a scenario was missing, the impact was misjudged or a check failed to verify the correct result. Revise the priority’s rationale and response, rather than just the cell’s colour. OWASP’s security risk rating guidance also highlights business context and uncertainty in estimates. Its scoring is not a universal model for all product risks.
What you gain
The team can explain why some checks run after every change while others are deliberately targeted. Critical risks receive more attention without growing the suite merely by adding cases. When the product or its operation changes, priorities can be revised for a stated reason rather than by instinct.
Next step
Choose your five most important user journeys. For each one, describe a specific failure, its impact, and the reasons behind its likelihood. Then connect each risk to an existing test, an owner, and a place in the release plan.