Skip to main content

Testing and QA · Intermediate · 18 min

Write a risk-based test plan for a release

By Padding · Updated 18 Nov 2026
A shared document or Markdown file in your repository · November 2026

You will have a test plan for one release that sets scope, scores each risk by likelihood and impact, matches testing effort to the score, and states the entry and exit criteria, environments, owners and reporting the team will use to decide whether to ship.

On this page

A test plan written as a list of every screen and every field treats a typo on the settings page as seriously as a patient being charged twice. With a fixed number of days before release, that means the dangerous parts get the same thin coverage as everything else, and nobody can say afterwards which risks were checked and which were hoped away.

A risk-based plan starts from the other end. You list what could go wrong in this release, score each item by how likely it is and how much it would hurt, and spend your testing time in proportion to the score. The plan then tells everyone what is being tested hard, what is getting a light check, and what is being accepted without testing, so the decision to ship is made with open eyes.

This tutorial builds one plan for one release. The running example is the Larkfield Clinic booking app, the fictional clinic app used across the testing tutorials: patients pick a slot, pay a deposit and get a reminder. Release 2.4 adds mobile money as a way to pay the deposit, next to the existing card payment. The patient enters a phone number, approves a prompt on their phone with their PIN, and the booking is confirmed when the clinic's server hears from the payment provider. The team is two mobile developers, one backend developer, one QA engineer (you), a product manager and the clinic's operations lead.

If your team has a test strategy, the plan inherits its standing rules (test levels, severity scale, release blockers) and only records what is specific to this release. Write a one-page test strategy for a small product covers that document. A blank template of the plan is in the last step.

Step 1 · Pin down the release and its scope

Open a new document titled with the release, for example "Test plan: Larkfield 2.4, mobile money deposits". Under the title, write four lines: the release name, the target date, the plan's owner (one person), and a link to the list of changes, such as the release milestone or the merged pull requests.

Then write two lists. In scope is everything this release changes or could plausibly break. Out of scope is everything you will not test in this release, each with a one-line reason. Be specific: "payments" is not a scope item, "deposit payment by mobile money on Android and iOS" is.

For Larkfield 2.4:

In scope

  • Paying the booking deposit by mobile money from the booking screen, on Android and iOS.
  • The server's new payment endpoints: starting a charge, receiving the provider's callback, and the timed status query that catches missed callbacks.
  • The booking states this adds: "awaiting payment", "paid", "payment failed", "payment expired".
  • The existing card deposit flow, because the payment screen it lives on has been rebuilt.
  • The new strings on the payment screen in English, French and Swahili.

Out of scope

  • Refunds by mobile money. Reason: not in this release; clinic staff refund by hand from the provider's dashboard, as they do today for card disputes.
  • Booking, reminders and the clinic calendar. Reason: no code changes, and the regression suite covers them on every merge.
  • The provider's own system (whether the prompt reaches the phone network). Reason: the provider's responsibility; the plan tests what Larkfield sends and how it handles every answer.
  • Web booking. Reason: mobile money ships on the apps first.

Out of scope is not a list of things that cannot fail. It is a record of what the team agreed not to spend time on, so that if one of them fails later, nobody has to argue about whether it was missed or chosen.

Check it worked

Your document has the release name, date, a single named owner and a link to the changes. Open the change list and check that every merged change maps to at least one in-scope line, or is named in out of scope with a reason. A change that appears in neither list is a gap: add it before moving on.

Step 2 · List the risks with the people who built the release

A risk is a specific thing that could go wrong for a user or the business, written so that someone could test for it. "Payments might have bugs" is not a risk. "A patient whose connection drops after tapping Pay is charged twice when they tap again" is.

Do not write the list alone. Book 45 minutes with the developers and the product manager and work through these sources one by one:

  1. What changed. Walk the change list. For each item ask: what is the worst thing this change could do to a patient, to the clinic's money, or to the clinic's data?
  2. New outside dependencies. Anything that talks to another company's system. Ask what happens when it is slow, says no, says nothing, or says something twice.
  3. What it touches that already works. Shared screens, shared code, migrations. These are where regressions come from.
  4. Past incidents. Look at the last few severity 1 and 2 bugs in this area. Similar code tends to fail in similar ways.
  5. How your users actually use the app. Their phones, networks, languages and habits, not the team's.

On point 5, be concrete about your audience. Many Larkfield patients use low-end Android phones on prepaid data, switch between mobile networks, and read the app in French or Swahili. A payment step that works on a developer's phone on office Wi-Fi tells you little about a patient on a bus with one bar of signal. People who pay by mobile money also expect the prompt to arrive in seconds and are used to retrying when it does not, which is exactly the behaviour that causes duplicate charges.

Write each risk as one sentence with an ID. The Larkfield list:

  • R1. A patient is charged twice when the app resends a payment request after a dropped connection, or the patient taps Pay again.
  • R2. The provider's callback never arrives, and the booking stays "awaiting payment" for ever, or the slot is released while the patient has paid.
  • R3. The patient declines the prompt or lets it time out, and the app shows the booking as paid, or loses the slot with no explanation.
  • R4. The amount the provider charges differs from the deposit the app showed, because of rounding or currency formatting.
  • R5. The phone number field rejects valid numbers (with country code, a leading zero or spaces) or sends the charge to the wrong number.
  • R6. A forged or replayed callback marks an unpaid booking as paid.
  • R7. Card deposits break, because the payment screen and its shared code were rebuilt.
  • R8. The payment status text is cut off or unclear in French or Swahili, or a screen reader does not announce the status change.
  • R9. Clinic staff cannot find a mobile money payment's reference when they need to refund it by hand.
  • R10. While waiting for the result, the app polls the server so often that it uses noticeable data and battery on a low-end phone.

Check it worked

You have at least eight risks, each with an ID and written as one sentence that names who is hurt and how. Read each one and ask "could I write a test that shows whether this happens?" If the answer is no, the risk is too vague: split it or make it concrete. Every in-scope item from the previous step is covered by at least one risk.

Step 3 · Score each risk by likelihood and impact

Scoring turns the list into an order. Give each risk two numbers from 1 to 3, decided by the same group that wrote the list:

  • Likelihood: how likely is it to happen in this release, given what you know about the code and the users? 1 is unlikely, 2 is plausible, 3 is likely or has happened before in similar work.
  • Impact: how bad is it for the people affected if it does? 1 is an annoyance with a workaround, 2 is a failed task or confused patient, 3 is money lost, data exposed, or patients unable to book.

Multiply them. The product runs from 1 to 9, and puts each risk in a band:

  • High (6 or 9): tested in depth.
  • Medium (3 or 4): tested with targeted checks.
  • Low (1 or 2): a light check, or accepted without testing and written down as such.

Add one rule on top of the arithmetic: any risk with impact 3 gets at least one dedicated test, whatever its score. Unlikely and catastrophic is still catastrophic, and a multiplication alone would let it slip into the medium band with a shallow check.

Write the score next to each risk with a short reason, because the reason is what lets someone challenge it:

  • R1 double charge: L2 × I3 = 6, High. Retries on poor signal are common; money taken wrongly.
  • R2 missing callback: L3 × I3 = 9, High. Callbacks arrive over the public internet and can be late or lost.
  • R3 decline or timeout shown wrongly: L3 × I2 = 6, High. Declines and timeouts are everyday events.
  • R4 amount mismatch: L1 × I3 = 3, Medium. Server computes the amount, not the app; but money is wrong if it happens. Impact 3 rule applies.
  • R5 phone number handling: L3 × I2 = 6, High. Number formats vary by country and habit.
  • R6 forged callback: L1 × I3 = 3, Medium. Signature check is designed in; failure would let bookings through unpaid. Impact 3 rule applies.
  • R7 card regression: L2 × I3 = 6, High. Shared screen was rebuilt; card is most patients' current way to pay.
  • R8 translations and screen reader: L2 × I2 = 4, Medium.
  • R9 refund reference: L2 × I1 = 2, Low. Staff can search the provider's dashboard by phone number and time.
  • R10 polling cost: L2 × I1 = 2, Low.

Do not average disagreements away. If the backend developer says R6 is a 1 and the product manager says 2, take the higher one, or note both and agree a test that settles it.

Check it worked

Every risk has a likelihood, an impact, a product and a band, plus a one-line reason. Sort the list by score: the top of the list should match the team's gut feeling about what is most dangerous in this release. If it does not, one of the scores is wrong; find it and rescore. Check that every impact-3 risk is marked for a dedicated test.

Step 4 · Decide what testing each risk gets

Now match effort to the bands. For each risk, write what testing it gets, at which level, and who owns it. Higher bands get more than one kind of testing, because different methods catch different failures.

A workable rule for a small team:

  • High: automated tests at the lowest level that can show the failure, plus a scripted check on a real device, plus a timeboxed exploratory session.
  • Medium: targeted automated or scripted checks for the specific failure.
  • Low: one quick check during exploratory testing, or accepted with a sentence saying why.

The Larkfield plan:

  • R1 (High). Server tests that send the same charge request twice with one idempotency key and assert one charge. App test that a second tap while a payment is pending does not start a new one. Device check: turn on airplane mode straight after tapping Pay, turn it off, confirm one charge in the provider's sandbox. Owner: backend developer and mobile developer.
  • R2 (High). Server tests with a stand-in provider that never sends the callback, asserting the status query marks the booking paid or expired on schedule. Device check: a sandbox payment with the callback URL deliberately unreachable. Exploratory charter: "Explore what a patient sees when payment results arrive late, out of order or not at all." Owner: backend developer, QA engineer for the charter.
  • R3 (High). App tests for each payment state and its text. Device checks: decline on the phone, ignore the prompt until it expires. Confirm the slot is held for the agreed time and then released with a clear message. Owner: mobile developer, QA engineer.
  • R4 (Medium, impact 3). Server test that the amount sent to the provider equals the deposit stored on the booking, for every deposit value the clinic uses. One device check comparing the screen with the sandbox record. Owner: backend developer.
  • R5 (High). Table-driven tests on number parsing with valid and invalid formats for each country the clinic serves. Device check entering a number with spaces and a leading zero. Owner: mobile developer.
  • R6 (Medium, impact 3). Server tests that a callback with a bad signature, or a valid one replayed for a different booking, changes nothing. Owner: backend developer, reviewed by a second developer.
  • R7 (High). The existing card payment end-to-end test, plus a scripted card payment on each test device. Owner: mobile developer.
  • R8 (Medium). Visual check of the payment screen in all three languages on the smallest test phone. Screen reader pass with TalkBack and VoiceOver on the status change. Owner: QA engineer.
  • R9 (Low). One check during exploratory testing that the reference appears on the booking in the staff view. Owner: QA engineer.
  • R10 (Low). Accepted. Reason: polling stops after the payment resolves and backs off after the first minute; revisit if support hears about data use.

Each check links back to a risk ID. When a test fails, you know which risk it is evidence for; when a risk has no check, you see it straight away.

Check it worked

Every risk has at least one line of testing or an explicit "Accepted" with a reason. Count the checks per band: high risks should have the most, low the fewest. If a low risk has more testing than a high one, move the effort. Every line names an owner, and every impact-3 risk has a test written for that specific failure.

Step 5 · Write the entry and exit criteria

Entry criteria say when testing can start. Exit criteria say when testing is done well enough to make a release decision. Both stop the same arguments from happening on the last afternoon.

Write entry criteria as conditions that are true or false. For Larkfield 2.4:

  • The release build, with mobile money behind a feature flag, is installed on staging and on every test device.
  • Staging is connected to the provider's sandbox. Its credentials are set as environment variables on staging, not written in the plan or the repository.
  • The server's status-query job is deployed and running on staging.
  • French and Swahili strings are delivered and in the build.
  • Unit and server tests for R1, R2, R4, R5 and R6 are merged and passing.

If an entry criterion is not met, testing on the affected risks waits, and the plan says so in the daily report. Starting anyway on a half-ready build mostly finds bugs that are already known.

Exit criteria tie back to the risk list and the team's release blockers. For Larkfield 2.4:

  • Every High and Medium risk has had its planned testing, and the results are recorded.
  • No open severity 1 bugs. Severity 2 bugs open only with the product manager's written sign-off and a fix date.
  • The card payment regression checks pass on every test device.
  • 20 sandbox payments, mixing approved, declined and expired, match the provider's sandbox records one for one, checked by the operations lead.
  • The feature flag can turn mobile money off for a clinic within minutes, tested once on staging.

The last two are worth copying in spirit. A reconciliation check is the most direct evidence that the money is right. A tested off switch turns a bad release from an emergency into a configuration change.

Check it worked

You have entry and exit criteria, each written so that someone could answer yes or no on the day. Each exit criterion either refers to the risk list or to a release blocker. Read the exit criteria to the product manager and ask: "If all of these are true, would you ship?" If they say "only if...", add the missing condition.

Step 6 · Set out environments, devices and test data

List where testing happens, on what devices, and with what data. This is where many release delays start, so be precise.

Environments.

  • Local and CI: server tests run against a stand-in provider that the team controls, because it can be told to drop or delay callbacks on demand. Accept mobile money in an app through your own server builds one.
  • Staging: the release build against the provider's sandbox. Used for device checks, exploratory sessions and the reconciliation check.
  • Production: after release, mobile money is switched on for one pilot clinic for three days before the rest.

Devices. Pick devices to match the users, not the team. For Larkfield, based on the app's analytics:

  • A low-end Android phone with 2 GB of RAM and a small screen, the slowest the clinic's patients commonly use.
  • A mid-range Android phone on the latest Android version.
  • An iPhone on the oldest iOS version the app supports.
  • For network conditions, test on a real mobile data connection with weak signal at least once, as well as with throttling on Wi-Fi.

Test data.

  • Test phone numbers or accounts from the provider's sandbox, where it offers ones that approve, decline or time out on purpose; the stand-in provider covers any outcome the sandbox cannot produce. No real patient numbers.
  • Test patients whose names use accents and non-Latin scripts, so the payment screen and the staff view are checked with realistic text.
  • Bookings at each deposit amount the clinic uses, including the smallest and the largest.

Check it worked

The plan names each environment with what is tested there, lists the test devices with a reason for each, and describes the test data. Hold the list up against the risks: R2 needs a way to lose a callback, R5 needs varied numbers, R8 needs the small phone and three languages. Each high risk has the environment, device and data it needs.

Step 7 · Assign roles and agree how results are reported

A plan is only followed if each person knows their part and everyone knows where to look for progress. Write who does what, then how and when results are reported.

Roles for Larkfield 2.4.

  • QA engineer: owns the plan, runs exploratory sessions and device checks, writes the daily report.
  • Mobile developers: app tests and fixes for R1, R3, R5, R7.
  • Backend developer: server tests and fixes for R1, R2, R4, R6.
  • Product manager: decides priority of bugs, signs off any severity 2 left open, chairs the go or no-go meeting.
  • Operations lead: runs the reconciliation check and the pilot at one clinic.

Daily report. One short message in the team channel at the same time each day, in the same shape, so it can be read in under a minute:

Text
Larkfield 2.4 test status, day 4 of 7
Risks: High 4 of 5 done (R2 in progress) · Medium 2 of 3 done (R8 Friday) · Low 1 checked, 1 accepted
Bugs: S1 0 · S2 1 open (BUG-412, duplicate prompt on retry, fix in review) · S3 3
Blocked: none
Exit criteria met: 2 of 5

Reporting by risk, not by number of tests run, answers the question the team actually has: what do we still not know?

Go or no-go. On the release date, the product manager runs a 15-minute meeting with the plan open. Walk the exit criteria one by one. For each risk, state what testing found and what is left, the residual risk. Record the decision and any accepted risk in the plan itself, with names. Bugs found along the way are triaged with the team's usual scales; Triage bugs by severity and priority covers that.

Check it worked

Every role in the plan has a name next to it and at least one risk or task. The plan has a daily report template and a time it goes out. Write the day-one report now, even if every number is zero; if you cannot fill a line from the plan, the plan is missing the information that line needs.

Step 8 · Assemble the plan and keep it live

Put the sections together in this order. Here is the blank template to copy:

Markdown
# Test plan: <release name>

Release: <name> · Target date: <date> · Owner: <name, role>
Changes: <link to milestone or pull requests>
Standing rules: <link to the test strategy, if you have one>

## 1. Scope
In scope: <specific features, platforms, flows>
Out of scope: <item: reason>

## 2. Risks
<ID> <one-sentence risk> · L<1-3> × I<1-3> = <score>, <band> · <reason>
Rule: any impact-3 risk gets a dedicated test.

## 3. Testing per risk
<ID>: <tests and level> · <device or exploratory checks> · Owner: <name>
<ID>: Accepted. Reason: <why> · Revisit if: <trigger>

## 4. Entry criteria
- <condition that must be true before testing starts>

## 5. Exit criteria
- <condition tied to the risks or to a release blocker>

## 6. Environments, devices and data
Environments: <name: what is tested there>
Devices: <device: why>
Data: <source and rules>

## 7. Roles
<role: name, responsibilities>

## 8. Reporting
Daily: <time, channel, template>
Go or no-go: <date, chair, attendees>

## 9. Decisions and residual risk
<date: decision, accepted risks, names>

A risk-based plan changes as you learn. Keep it live during the release:

  • When testing finds a cluster of bugs around one risk, raise its likelihood and add testing. Two duplicate-prompt bugs on R1 mean R1 needs another exploratory session, not a tick.
  • When a new risk turns up mid-release, give it the next ID, score it and add it. Do not quietly test it outside the plan.
  • When a high risk's testing passes cleanly, write the result next to it. That line becomes the evidence in the go or no-go meeting.

After the release, spend ten minutes comparing the plan with what happened in the pilot and the first weeks. Any production bug that maps to a low or accepted risk tells you how to score next time. Any that maps to no risk at all tells you which source of risks to look at harder in the next planning session.

Check it worked

Your plan has all nine sections filled for your release, fits in a few screens of scrolling, and every risk ID appears in sections 2 and 3. Share it with the team and ask each person to find their name and their first task. Then open section 9 and write today's date with "Plan agreed", and the names of the people who agreed it.

Next steps

Need this done for you?

Padding does this work for growing companies, from the first diagnosis to a system that keeps working.

Platform Engineering

Get new tutorials

New tutorials, about twice a month.