Source: https://everyrole.dev/blog/false-positive-false-negative-tests

# 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.

Nov 22, 2026  5 min read  by the EveryRole team

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

![A grid. The test passed and the app works: a real pass. The test passed and the app is broken: a missed bug, the false negative. The test failed and the app works: a false alarm, the false positive. The test failed and the app is broken: a real catch.](https://everyrole.dev/s/blog/false-positive-false-negative-tests/grid.webp)

Two of the four boxes are the test doing its job. The other two are the test lying, in opposite directions.

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](https://everyrole.dev/blog/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](https://everyrole.dev/blog/flaky-tests). The last two are about [what you choose to expect](https://everyrole.dev/blog/expected-results-in-test-cases), 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.

![The results EveryRole gives a case, as its own tags. Passed: the page gave the answer a person approved. Broken: a step could not be done or a check failed. Wrong result: a person said the first answer was wrong. Result changed: the page answered differently. Couldn't check: no steady answer. Not checked yet: nobody approved a first result. Not run.](https://everyrole.dev/s/blog/false-positive-false-negative-tests/answers.webp)

The result tags EveryRole gives a case, drawn with the product’s own labels. Each one says who has to act.

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.

## Try it on your own app

EveryRole tests your app’s real user journeys for each kind of user, from the live site, and runs them after every deploy. Paste your app’s address to see what it finds.

[Start with your app](https://everyrole.dev/signup) [How it works](https://everyrole.dev/docs#start)

## Keep reading

Honest results

### [Can AI test your app? What it should never decide](https://everyrole.dev/blog/can-ai-do-qa-testing)

Can AI do QA testing? It explores an app and drives a browser well. It should not decide if a result is right. What we measured, and where we drew the line.

Nov 22, 2026  6 min read

Honest results

### [Flaky tests: the causes, and why retries hide bugs](https://everyrole.dev/blog/flaky-tests)

Flaky tests pass and fail on the same code. The five causes, how each one gives itself away, how to fix it, and why retrying until green hides real bugs.

Nov 22, 2026  6 min read

Honest results

### [Tests pass but the app is broken: hollow passes](https://everyrole.dev/blog/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.

Nov 22, 2026  5 min read
