Tests pass but the app is broken: hollow passes
Your tests pass but the app is broken. Five ways a test goes green without proving anything, how to spot each, and the one check that exposes them all.
When your tests pass but the app is broken, you have a hollow pass: a test that ran, went green, and proved nothing. The steps happened. The check at the end was too weak to notice that the feature is broken, or there was no check at all.
They are worse than failing tests and worse than having no tests. A failing test costs you a look. A missing test, at least, you know about. A hollow pass tells you to stop looking.
We use the name because we have shipped them ourselves. An early version of EveryRole filled a form, pressed the button, and called the test passed when nothing went wrong along the way. “Nothing went wrong” turned out to be very easy to satisfy.
What a hollow pass looks like
Take a form that creates an item. Suppose a deploy breaks it: “Create” now answers with a blank page and saves nothing.

The test on the left opens the form, types a name, presses the button, and checks that no error message is on the page. A blank page has no error message. Green.
The test on the right does the same three steps and checks that the item’s page opens with the name on it. There is no item. Red, which is the truth.
The steps are identical. Everything that matters is in the last line.
Five ways a test goes hollow
1. It checks the start, not the end
The test confirms the form page loaded, or that the button was there to click. Those are conditions for the test to begin. They say nothing about what the form did. It is what you get from a test case without an expected result.
How to spot it: read the last check in the test. If it would also be true before the action, it isn’t checking the action.
2. It checks that nothing bad showed
“No error on the page”, “no red text”, “the request didn’t fail”. An absence is satisfied by a blank page, a spinner that never stops, and a redirect to the login form. The empty form is the quickest place to see this.
How to spot it: the check contains “no” or “not” and nothing else. A real check names something that must be there.
3. It checks the message, not the thing
The page says “Saved!”. The test sees “Saved!” and passes. But a message is something the front end prints. The thing is the item in the list after a reload. We have seen forms that print the message first and send the request after, and the request fails.
How to spot it: after the action, does the test look at the place where the result should live? The list, the profile page, the inbox.
4. It was retried until it passed
The test failed, ran again, failed, ran again, passed. The report shows one green tick. Sometimes that is a slow page. Sometimes it is a bug that hits some people and not others, and the report just hid it from you.
How to spot it: your results have no way to say “passed on the third try”. If retries are invisible, some of your passes are this.
5. It couldn’t check, and that was counted as a pass
The login expired, the page took too long, the element wasn’t found, and the code around the check swallowed the problem. The test ended without a failure, so it was reported with the passes. Skipped tests that are shown in green are the same thing.
How to spot it: your report has two states. Real results need more than two. “Couldn’t check” and “not checked yet” are neither a pass nor a break, and a report that has nowhere to put them will put them with the passes.
The check that exposes all five
Break the app on purpose and run the test.
Comment out the line that saves. Make the endpoint answer with an empty page. Point the form at the wrong address. Then run the suite. Every test that touches that feature and still passes is hollow, whatever its code looks like.
This takes a few minutes per feature and nobody does it, because a green suite feels like a thing you shouldn’t poke. Poke it. We do this to EveryRole itself: our practice apps have switches that break them in known ways (the wrong plan at checkout, an item another user can open), and our own test suite fails unless each break is caught by the case that should catch it.
Do it at least for the journeys that cost you money when they break: sign-up, checkout, the main thing people use your app for.
How EveryRole avoids them
We rebuilt results around this problem, so a few rules are fixed:
- A case has an expected result or it has no verdict. Until a person has looked at the first result and said yes, the case shows “Not checked yet”. It is never counted as passed.
- The verdict comes from code comparing the page with the approved answer. An AI model can help find its way through the app. It never gets to say “looks done”.
- A different result is a question. If the page answers differently from what you approved, the case becomes “Result changed” and you are asked. You decide whether it is a bug or the app moving on.
- “Couldn’t check” is its own result. A run that couldn’t reach the form says so.

That row is the point. The empty case ran. Nothing crashed. A tool that wanted to look good would paint it green.
What to do this week
Pick your three most important tests. For each, read the last check and ask: would this still be true if the feature did nothing? Then break the feature and see.
If all three catch the break, good. If one doesn’t, you have found the most useful hour of testing work you’ll do this week: go and fix the check.


