False positives and false negatives in tests
False positive vs false negative in testing, in plain words. A false alarm and a missed bug, what each one costs, and the third answer every test report needs.
A false positive is a test that fails when the app is fine. A false negative is a test that passes when the app is broken. If that feels backwards, you are in good company: “positive” here means “the test raised an alarm”, the way a medical test is positive when it finds something. It has nothing to do with good news.
We find the plain names easier to keep straight: a false alarm and a missed bug.
False positive vs false negative in testing, on one grid

Both of the bad boxes cost you, in different currencies.
A missed bug costs you users. The test passed, you deployed, and the form that creates an item has been saving nothing since Tuesday. Nobody on the team knows. This is the expensive one, because the only people who can tell you are the people you are losing.
A false alarm costs you trust. The test failed, someone stopped what they were doing, spent an hour, and found the app was fine. Do that to a team a few times and they learn that red means “probably nothing”. Then a real catch arrives and gets the same shrug. False alarms turn into missed bugs by way of people.
So you can’t simply pick one to minimise. A suite tuned never to raise a false alarm checks almost nothing. A suite tuned never to miss a bug cries wolf daily.
Where missed bugs come from
A test passes on a broken app when its check is weaker than the breakage. The usual shapes:
- The check looks at the start of the action, not the result. The button was clicked. Did anything save?
- The check looks for the absence of an error. A blank page has no error on it.
- The check looks at a message instead of the thing. “Saved!” is not the item in the list.
- The test was retried until it went green.
- The test couldn’t reach the feature at all, and that was reported with the passes.
We call these hollow passes and wrote a whole post on spotting them. The short version of the cure: break the feature on purpose and see whether the test notices.
Where false alarms come from
A test fails on a working app when it depends on something other than whether the feature works:
- Timing. It looked before the page had finished.
- Someone else’s service. The payment sandbox was down for ten minutes.
- Leftover data. Yesterday’s run left an item behind and today’s count is off by one.
- An expected result that is too exact. The test insists on the wording of a footer that marketing changed.
- The app changed on purpose. The page was redesigned, and it is right. The test’s idea of right is out of date.
The first three are covered in flaky tests. The last two are about what you choose to expect, and the last one is the interesting case.
The app changed. Is that a false alarm?
Say the item’s page used to show the name as a heading, and after a redesign it shows the name and a small “Draft” label beside it. The test fails.
Call it a false alarm and the pressure is to make the test looser so it stops complaining. Do that enough and the test can no longer tell a redesign from a regression. Call it a real catch and someone files a bug against a page that works as designed.
It is neither. The test did the one thing it can do, which is notice a difference. Whether the difference is good is a decision, and tests don’t make decisions. A person looks at the new result and says “yes, that’s the new right answer” or “no, that’s a bug”.
Most test reports have no way to say this. They have two colours, so the change is filed as a failure, someone “fixes the test”, and no person ever looked at whether the new page was right.
The third answer: couldn’t check
There is another result two colours can’t hold. The login expired. The page never finished loading. The staging server was restarting. The test did not find a bug and did not prove the feature. It found out nothing.
File that under “failed” and you have made a false alarm. File it under “passed” (it happens: an exception swallowed, a skipped test shown in green) and you have made a missed bug. The honest report says: this could not be checked, here is why, look at the run.
A report with enough answers
Once you allow more than two answers, most false positives and false negatives have somewhere better to go.

This is how EveryRole reports a case, and the reasoning applies to any suite:
- Passed only means something if it is hard to get. Here it needs an answer a person approved, matched by code.
- Broken is kept for what code can be sure of: a step that couldn’t be done, a check that failed.
- Result changed is the redesign-or-regression question, put to a person, with the old and new result side by side. A no from that person marks the case as a wrong result until the app is fixed.
- Couldn’t check keeps infrastructure trouble away from both columns.
- Not checked yet is for a case that ran but has no approved answer. It would be easy to paint it green. That would be a missed bug waiting to happen.
What to do with your own suite
You don’t need new tooling to start. Two habits get you most of the way.
Count your false alarms for four weeks. Each time a red test turns out to be nothing, write one line: which test, and why. At the end, look for the pattern. Usually a few tests and causes stand out. Fix those and people start believing red again.
Hunt one missed bug on purpose. Pick your most important journey, break it in a branch, run the suite. If it stays green, you have found a false negative before your users did.


