For QA leads, heads of quality assurance and test managers

How to choose what to test first with risk-based testing

A warehouse release changes how scanners retry stock transfers, how staff filter the replenishment list and what a help link says. If you have one afternoon to test it, where should the team spend its time?

What is risk-based testing?

Risk-based testing uses the harm a failure could cause and the likelihood of it happening to decide what to test, how thoroughly and in what order. A QA lead can use it to explain why one change needs more evidence before release and why another can ship after a focused check.

Jump to a section

Score the failure you are worried about

Name what could go wrong for a user. “A retry moves stock twice” gives the team something to investigate. Ask the warehouse lead how hard it would be to put the stock records right, and ask the engineer what changed in the path that records a transfer.

Example scoring rubric for one team
ScoreImpact if it happensLikelihood in this release
1 · LowMinor inconvenience. The user can continue unaided.An isolated edit leaves the underlying behaviour unchanged.
2 · MediumAn operator loses time or must use a workaround.One business rule or dependency changed. Its inputs and behaviour are familiar.
3 · HighRecords become unreliable or a critical operation stops.The change introduces coordination across systems, or the team has seen this failure recur.

Multiply the two scores to order the work. In this example, 6 or 9 gets tested first, 3 or 4 gets a focused check, and 1 or 2 gets a short check in the affected area. These are local priorities. A score of 6 does not mean a failure is twice as probable as one scored 3. Ask the release owner to review every high-impact failure, even when its likelihood is low.

Apply the matrix to three changes in the same release

The team uses these ratings to agree its test order before looking at any results. Each row records why the failure deserves that place.

Illustrative warehouse release, highest priority first
Change and possible failureImpactLikelihoodPriority
Scanner retries a transfer after a lost reply. A second stock movement corrupts the count.33 · Scanner and stock service9 · First
The replenishment filter changes. An operator must search the full list to find low stock.22 · Filter rule changed4 · Focused
A help link gets a shorter label. Unclear wording slows the reader down.11 · Wording only1 · Short

If the help-link change also replaces a component used across the application, revisit its likelihood and scope. The score belongs to the change you inspected.

Build your test automation strategy around the risk

A test automation strategy should say which evidence each check will produce. Agree who writes the check, who runs it and who reviews its result. For help dividing that work, see AI test management for QA teams.

  • For the transfer, start with 10 units in bin A and 2 in bin B. Request a move of 3, let the service record it, then simulate a lost reply. Retry the same request. An API test against a test database should find 7 in A, 5 in B and exactly one movement record. Checking only the combined total of 12 would also pass after a duplicate transfer.
  • For the filter, create items below, at and above the replenishment threshold. A unit test can check the agreed inclusion rule. A browser check can open the replenishment view and verify that staff see the expected items with the default filter applied.
  • For the wording, read the link in context and follow it to the intended help topic. If the destination and navigation are already covered, that existing check and a copy review can settle the change.

Make a release exception specific enough to expire

Suppose the retry check passes with one scanner, but the team cannot exercise two devices retrying the same transfer. Record that as residual risk. A passing single-device check leaves the concurrent case open.

Risk register entry to copy into a release review
Change and revision:
Customer outcome at risk:
Impact (1–3) and reason:
Likelihood (1–3) and reason:
Priority = impact × likelihood:
Check, expected result and evidence:
Remaining risk and rollout limit:
Owner, stop condition and review date:

The release owner can keep automatic retries switched off while shipping the other changes. Record who approved that limit, which sites it covers, who will watch the movement log for duplicates and when the decision expires. For this release, the QA lead owns the two-device check before the next warehouse rollout. A duplicate movement stops the rollout. Review the outstanding risk with the other QA metrics.

Primary documentation

Questions about this guide

01

Who should own the risk score?

The QA lead records the rating and why it was chosen. An operational or product owner can explain the impact, and the engineer who knows the change can explain the likelihood. The person accountable for release decides whether to accept an open risk.

02

How does risk-based testing fit into an automated regression suite?

Use the risk assessment to select checks for this revision. Keep a repeatable test when it protects a rule that later changes could break. Revisit the selection when usage, dependencies or the cost of failure changes.