Back to Automation

How Do You Test an Automation Before It Runs Live?

How Do You Test an Automation Before It Runs Live?
AI Tutorials Team 30 March 2026

Testing an automation means running the real thing with the consequences removed, which is straightforward to arrange and frequently skipped.

How do you remove the consequences?

Point outputs somewhere harmless: your own address instead of a customer's, a test folder instead of the live one, a draft instead of a send. The logic runs identically.

What should you test with?

Real data, including the messy items. Clean test data proves the happy path works, which is the part that was never in doubt.

What should you break deliberately?

  • A failing step. Does it retry or stop?
  • Malformed input. Does it route aside?
  • Nothing to process. Does it report or go silent?
  • Double running. Does it duplicate?
  • Large volume. Does it slow or fail?

Which of those matters most?

Nothing to process. It is the most common real-world case and the one most likely to produce a silent failure that goes unnoticed for weeks.

What is parallel running?

Running the automation alongside the manual process for a period, comparing the two. It is the most informative test available and the one that costs the most time.

What about the cases you cannot find?

Worth deliberately looking for rather than waiting to encounter. Asking colleagues for the strangest item they have handled in the past year usually produces two or three cases the design would have failed on.

Those are cheap to accommodate at design time and expensive afterwards. It is also the sort of question that people answer readily, since everybody remembers the awkward case.

How long should that last?

A cycle of the process, ideally including a busy period. A week of comparison catches the cases that a designed test never anticipates.

What about volume?

Worth testing separately. An automation that works on ten items may hit rate limits, timeouts or cost surprises at five hundred, and that is better discovered before the first live run.

What should you check in the output?

Not just that it looks right, but that the counts reconcile. Comparing what went in against what came out catches partial processing, which visual inspection will not.

What about testing the recovery path?

The part that is never exercised until it matters. Recovery logic written but never run is as likely to be broken as any other untested code, and it is discovered during an incident.

Deliberately stopping a run and restarting it takes ten minutes. Doing that once before deployment converts an assumption into something you have actually seen work.

What about testing with colleagues?

Worth doing before anything goes live. The people who will receive the output notice things the builder does not, particularly about format, tone and whether the result is actually usable.

It also surfaces the exceptions. Somebody reviewing test output will frequently say that a particular case is handled differently, which is information that never appeared during mapping.

What about testing after changes?

The same cases again. Automations accumulate small changes, and rerunning a fixed set of checks is what stops a fix to one thing quietly breaking another.

Marking items as processed, checking before acting, and using provided identifiers turn a frightening rerun into a routine one.

What is the minimum?

Real data, safe outputs, one deliberate failure, one empty run, and a count that reconciles. An afternoon, and it prevents most of what would otherwise happen in front of somebody.