Now taking new projects

All resources

Template

Acceptance test plan template.

For owners and operations leads who need to check that an automation build works before they accept it, with or without a technical person beside them.

This template is built from the way I test an automation before it is accepted. Copy it into a document and fill in each part. The headings are fixed. What you write under them is yours.

It is short because it holds only the general method. It has no tool-specific steps, so add those for your own tools.

A few terms used below:

  • Test point is a check written into the build plan.
  • Done-when is the condition written for one task that says when it is finished.
  • Rule that must hold is something the build promised that has to stay true after every change, such as “an invoice is sent only once”.
  • Evidence is a record that someone who did not run the test can use to confirm the result.

1. Where the cases come from

Cases come from three places only. Do not invent cases and do not skip them.

  • Test points in the plan: [list or link]
  • Done-when for each task: [list or link]
  • Rules that must hold: [list each rule, one per line]

If the plan was changed after it was written, read the list of changes too. Where a mechanism was replaced, test the replacement, not the original wording.

2. Ground rules for the test

  • Test in a development environment. Treat the real system as read-only.
  • Do not use real customer addresses or phone numbers.
  • Operate only on workflows and records that are marked as test.
  • Keep credentials out of the files you write.
  • Customer-facing actions are done by a person, by hand.

3. Keep outbound messages in a placeholder

  • Replace every step that sends an email or a text with a placeholder that records what would have been sent, and what it would have been sent with.
  • Check your results against what the placeholder recorded.
  • Read and look up steps may run for real.
  • Switch back to a real send only in a round that someone has approved for that round, and list what will be sent before you start.

4. Run each case in three parts

Each case needs all three. A case with one part missing has not been tested.

  1. Set up. Build the input: a test record, a simulated form submission, or a simulated callback from another service.
  2. Run. Trigger the step. Before you do, check what it will send, and think through each input field, including an empty one. For a case about a partial failure, break the chain at the point the case names, then put it back and note that you did.
  3. Collect evidence. Save the run id and the key outputs, the state of the records before and after at field level, and the receipt from the outside service if there is one.
  • Do not treat an overall “success” status as proof that an outside service accepted the request. Judge by the real response of the step, such as its status and body, or by a field it wrote back.
  • Count every run in the tool’s history during the test window, including runs the tool started on its own when you switched something on.
  • If several people test at once, limit every count to records carrying your own test tag. A record with someone else’s tag is probably normal output from another person’s test running at the same time, so check before you report it as a failure.

5. Rules that must hold, every round

  • Run every rule in section 1 in every round, however small the change.
  • Treat a failed rule as a blocker. Stop and report it at once instead of waiting for the end of the round.
  • Remember why: a later change can quietly remove an old protection, and a test that covers only the new task will not notice.

6. Extra cases for automations

  • For any step that receives text from outside, add a case with a double quote, an apostrophe, a backslash, a line break and a contraction such as “don’t”.
  • For any step that receives an id, add a case where the id does not exist.
  • For each of these, check the status, the incomplete runs and where the alert landed.
  • Read the Make scenario crash-proofing checklist before testing Make scenarios.

7. The test log

Use one row per case. Every applicable case gets a result. A case that does not apply is written down with the reason.

Case Source (test point, done-when or rule) Set up Expected Actual Evidence Pass or fail
Example: a second approval of the same invoice sends nothing more Rule that must hold: an invoice is sent only once A test invoice record tagged as test, on sandbox data. Tick approve and let the run finish, then tick approve again. One invoice is created and sent once. The second approval is blocked and a review item is logged. [fill in after the run] The run id and key outputs of both runs, the invoice record before and after at field level, and the receipt from the outside service [pass or fail]

8. When a case fails

  • The tester records the failure and does not fix it: what happened, and whether it looks like a slip in the build or a flaw in the plan.
  • A slip in the build goes back to whoever built it. A suspected flaw in the plan stops the work and goes to the owner.
  • Run the re-test in a fresh session and add it to the log as a new round.

9. The report for the person who signs off

  • Every statement can be traced to the confirmed plan. Delete a sentence that has no source.
  • Mark each item as Unchanged, Updated or New, compared with the last document the reader saw.
  • Use the reader’s own words. Leave out engineering terms.
  • State the number of cases, how many passed and how many failed, and where the log is.

Tell me what you want to automate.

Describe your setup, where work gets stuck, and what you want to change.

I reply in writing, with a recorded walkthrough when it helps.