Back To Blogs

Risk-Based Testing: What to Test When You Don't Have Time to Test Everything

Every tester eventually hears "we release tomorrow, what can you cover?" Risk-based testing is the disciplined answer: spend your testing effort where failure is most likely and would hurt most.

Risk = likelihood × impact

For each feature or area, estimate two things:

  • Likelihood: how likely is it to contain bugs?
  • Impact: if it fails in production, how bad is it?

Score each from 1 (low) to 3 (high) and multiply. A 9 gets deep testing first; a 1 gets a quick check or nothing.

What raises likelihood

  • New or heavily changed code
  • Complex logic: pricing, permissions, dates, state machines
  • Areas with a history of bugs
  • Many integrations (payments, email, third-party APIs)
  • Rushed work, unclear requirements, or a new team

What raises impact

  • Money: payments, pricing, refunds
  • Data: anything that can corrupt or lose user data
  • Security and privacy
  • Core journeys: sign up, sign in, the main action users come for
  • Legal or regulatory exposure
  • Large numbers of users affected

A worked example

A release touches five areas:

AreaLikelihoodImpactRiskPlan
New coupon engine339Deep: EP/BVA, combinations, exploratory session, automate key cases
Checkout address form (refactored)236Validation tests, server-side checks, double submit
Profile page redesign212Visual check on two browsers, mobile
Footer link updates111Click through once
Order history (unchanged)133Covered by the automated regression suite

In a single afternoon, this tells you exactly where to go.

Turning risk into a test plan

  1. List the risks with the team: developers know where the code is fragile, product knows what customers care about
  2. Score and sort
  3. Choose depth per level:
    • High risk: test design techniques, negative paths, exploratory sessions, automation
    • Medium risk: main paths plus key negative cases
    • Low risk: smoke-level check
  4. Make the leftover risk visible: "We did not test X; the risk is Y". Stakeholders can then make an informed decision.

Risk-based regression

When regression suites grow, run them by risk:

  • Every commit: smoke and critical-path tests
  • Every merge: high-risk areas plus anything near the change
  • Before release: the full prioritised suite

Communicating risk

The output of risk-based testing isn't just "tests passed". It's a statement like:

"Coupons and checkout are tested in depth, with no open high-severity issues. The profile redesign had a light check on Chrome and Safari only. Order history relies on the automated regression suite, which passed. Remaining risk: coupon combinations with gift cards weren't covered."

That is far more useful to a release decision than a pass percentage.

Mistakes to avoid

  • Scoring alone: risk analysis is a team activity
  • Never revisiting scores: risks change as code and usage change
  • Treating low risk as no risk: a quick check is cheap insurance
  • Hiding gaps: untested risk should be stated, not buried

Build the instinct

Risk-based thinking is what separates junior testers from senior ones, and it's built by seeing where real bugs cluster. In the expert QAUnlocked Practice Labs you get a whole app, a time limit and no hints, so you have to decide where to look first. Afterwards the debrief shows where the bugs actually were. It's a fast way to calibrate your sense of risk.

risk-based testingtest strategyprioritisationtest planning

Comments

0 Comments

Be the first to comment.