Chapter 7 of 7

Testing can't prove it's perfect

Testing can show that something is broken. It can never show that nothing is.

Sooner or later, someone asks the tester: “Is it ready?” Sometimes it’s “Did testing pass?” And close to a deadline, sometimes it’s “Can you guarantee it works?”

They’re all fair things to ask. But behind each of them is a hope that testing can say nothing is wrong. It can’t, and a tester who says yes anyway is promising something nobody can deliver.

Green in test, broken in production

I once saw a feature released that let users search for an ID starting with a letter. A simple, useful function. The requirements didn’t say which IDs should be searchable, so it was tested with the test data that was provided. Everything passed, and it went live.

After release, it turned out the search was case sensitive. In test, most IDs started with small letters. In production, most started with capitals. So a search that worked perfectly in test failed for most of the IDs people actually used.

The tests did exactly what they were built to do: they proved the search worked for IDs with small letters. They just couldn’t say anything about the IDs nobody had tried. Green meant “works with the data we had”, and everyone heard “works”.

Where you looked

Testers learn this as a basic principle: testing shows the presence of defects, not their absence. In plain words, every passing test says “no problem here, done this way”. It says nothing about everywhere else.

A test report works the same way. It shows the problems that were found in the places that were checked. The problems nobody looked for leave no trace, so a clean report can look like a safe product. It only tells you where you looked, and what you saw there.

The honest answer

So what should a tester say when someone asks for a guarantee? Mine is short:

No, I can’t guarantee it. But I can tell you exactly what you’d be accepting.

Confidence is something testing can actually give. A good tester can tell you what was tested, what was found, and what risk is left. Then the people deciding can choose with their eyes open.

In practice, that means signing off with a “but”. Over the years, mine have sounded like this:

  • “…but a connected system was down, so the integration hasn’t been tested properly.”
  • “…but we’ve tested the main flows, not the full picture.”

What happens next is a decision, not a verdict. Sometimes the release is postponed. Sometimes it goes ahead, because the changes in it don’t touch what’s untested. And sometimes the value is simply worth the risk.

One of those decisions stays with me. At a company handling flower delivery orders, we were about to release a feature that let shop owners set a delivery fee based on distance. It worked. But while testing, we found a gap: if the delivery address was changed after the order was placed, the fee didn’t update.

We told the PM. The decision was that changed addresses were rare enough that the feature’s value outweighed the risk. It was released, a fix was already being built, and it went out shortly after. Nobody pretended the feature was perfect. Everyone knew exactly what they were accepting, and why.

In my experience, a “but” like that is usually well received, as long as it’s grounded in facts, evidence or experience rather than worry. So if you’re the one asking whether something is ready, ask for the “but”. It’s the most useful part of the answer.

The search story had a “but” too: it had only been tested with the data we were given. Nobody said it out loud, and nobody, testers included, thought to ask: does the test data look like the real data?

Five questions that work on anything

  1. 1. What problem are we solving, and for whom?

    If the answer is fuzzy, everything after it will be too.

  2. 2. How will we know it works?

    Agree what “right” looks like before anyone builds it.

  3. 3. (in focus) What could go wrong?

    Errors, limits, odd inputs and unusual users, not just the normal case.

  4. 4. (in focus) What are we assuming?

    What everyone takes for granted is exactly what nobody checks.

  5. 5. Does it fit with what’s already there?

    The system, the business rules, earlier decisions, the law.

Here, question 4 does the most work: what are we assuming? The search story assumed the test data looked like real data, and nobody checked. Question 3 helps find the rest: what could go wrong with the inputs real users will actually type? And when someone says it's ready, both lead to the same habit: ask for the "but".

Testing doesn't remove the doubt. It shows you where the doubt is.