Source: https://everyrole.dev/blog/smoke-vs-sanity-vs-regression-testing

# Smoke vs sanity vs regression testing, on one app

Smoke testing vs sanity testing vs regression testing, shown on one small app. What each level proves, what it can’t, and why a page that loads is none of them.

Nov 22, 2026  6 min read  by the EveryRole team

Smoke testing vs sanity testing, in one line each: a smoke test asks “does the app start at all?” after a build or a deploy, broad and shallow. A sanity test asks “does the thing I just changed work?”, narrow and a little deeper. A regression test asks “does everything that worked before still work?”, and it is the only one of the three that can tell you a form stopped saving.

The definitions online contradict each other, mostly about sanity testing. So we’ll skip the argument and run each level on the same small app.

![Four levels on the items app. A 200 answer proves the server is up: the login page answers. A smoke test proves the app starts: an editor logs in, sees their list, creates one item. A sanity test proves the thing you just changed works: a name of 60 saves, 61 doesn't. A regression test proves what worked before still works: every journey, each kind of user, each case.](https://everyrole.dev/s/blog/smoke-vs-sanity-vs-regression-testing/levels.webp)

Each level answers one question. The mistake is asking a lower level a higher level’s question.

## The page loads is not a test

Start one level below smoke, with the check that is easiest to mistake for a test.

A monitor asks your server for a page and gets a 200. That proves a process is running and can answer. It says nothing about what the answer contains.

Our files practice app shows how little that is. Its reports page has four export links.

![The practice app's reports page: a table of three rows (Alpha Supplies, Beta Tools, Gamma Parts) and four links under it: Export CSV, Download PDF, Export JSON and Export archive CSV.](https://everyrole.dev/s/blog/smoke-vs-sanity-vs-regression-testing/reports-page.webp)

Four export links. All four answer 200.

We asked for each one and wrote down what came back. “Export CSV” answers 200 with the three rows. “Export JSON” also answers 200, and the file it hands over is an error page that says “Export failed”, saved under a `.json` name. “Export archive CSV” answers 200 with an empty file. A check that looks at the status sees three healthy exports. Two of them are broken.

Keep the 200 check. It is cheap and it wakes you up when the server is down. Just don’t count it as a test of anything a user does.

## What is smoke testing

A smoke test is a small set of checks, run right after a build or deploy, that says whether the app is worth testing further. The name comes from hardware: switch it on and see if smoke comes out.

On the items app, our smoke test is one short journey:

1. The login page opens.
2. An editor logs in and lands on “Your items”.
3. “New item” opens the form.
4. A name and a note create an item, and its page opens with the name on it.

By hand it is a handful of clicks. It touches the login, the session, a page that reads data and one that writes it. If any of those is dead, you know before anyone else does, and there is no point running anything bigger.

Rules we keep for smoke tests:

- **A handful of checks.** If it grows past what runs in a couple of minutes, it has become a slow regression suite with gaps.
- **Good input only.** No empty form, no wrong formats. Those belong further down.
- **It must reach an outcome.** “The form opened” is still a page load. Step 4 is what makes it a test. A smoke test that never writes anything is one of the ways you get [a green tick that checked nothing](https://everyrole.dev/blog/hollow-passes).

## What is sanity testing

A sanity test is the quick, focused check of one change. You just fixed a bug or shipped a small feature, and before running everything you check that the change itself does what you meant.

Say we changed the item name’s limit to 60 characters. The sanity test is the new item form and nothing else: a name of 60 characters saves, and a 61st character can’t get in: our form stops typing at 60, and the server refuses anything longer. (That pair of values is [boundary testing](https://everyrole.dev/blog/boundary-value-testing) in its smallest form.)

Smoke and sanity get confused because both are short. The difference is where they point. Smoke is the same every time and covers the whole app thinly. Sanity is different every time and covers one spot properly. If you only remember one thing: smoke follows a deploy, sanity follows a change.

In a small team the sanity test is done by hand by whoever made the change, and that is fine. Its weakness is that it is never written down, so nobody runs it again next month. The fix is the third level.

## What regression testing adds

A regression test checks that something which worked still works. A regression suite is all of those together: every journey you care about, for each kind of user, with its cases.

On the items app that means the editor’s journey with good input, an empty name, a name that is too long and a wrong value followed by the right one. It means the viewer, whose “New item” button must stay disabled and whose direct visit to the form must answer “Viewers can’t create items.” It means another editor’s item still answering the not-found page. And the exports above, opened and read.

Two things make it different in kind from the first two levels:

- **It has expected results.** Each case has an answer someone approved, and the run is compared with it. That is the part that catches the export that answers 200 with an empty file. (How to write those answers: [how to write test cases](https://everyrole.dev/blog/how-to-write-test-cases).)
- **It grows from the other two.** Yesterday’s sanity test, written down with its expected result, is tomorrow’s regression case. That is how the suite should grow: from changes you really made, and bugs you really had.

## Smoke testing vs sanity testing vs regression: which to run when

| When | Run | Why |
| --- | --- | --- |
| After every deploy | Smoke, then regression | Smoke tells you in a minute whether to bother. Regression tells you what broke |
| After a change, before you call it done | Sanity on that change | You are the only one who knows what it was meant to do |
| On a schedule | Regression | Things break without a deploy: an expired key, a third party, a full disk |
| All day | The 200 check | To know the server is up, and only that |

If you have time for one level only, make it a short regression suite of your most important journeys. It contains the smoke test (if login is dead, every journey fails at stop one) and it remembers your sanity tests.

## How EveryRole fits

EveryRole works at the regression level, from outside. It explores your live app and suggests journeys. Each journey is a list of stops, and each stop runs its cases: good input, empty, wrong format, wrong then right, and others that apply to that kind of stop. You say yes to each first result once, and every later run compares with the answer you approved. It runs after deploys, on a schedule, or by hand.

For a download it checks that the file is of the type the button names and that it isn’t empty, so the two broken exports above come back as Broken where a status check stays green. Page checks run on every page of the app in a full run, which covers the “does it load” level as well.

Your sanity test is still yours: only you know what the change was for.

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

QA practice

### [QA for startups: a routine without a QA team](https://everyrole.dev/blog/qa-for-startups)

QA for startups with no tester. A routine a team of three can keep: what runs on every deploy, what a person does each week, and what to skip without guilt.

Nov 22, 2026  5 min read

QA practice

### [Regression testing when you ship every day](https://everyrole.dev/blog/regression-testing-small-teams)

Regression testing for small teams. A short suite of the journeys that already worked, run on every deploy. What goes in it and how often to run it.

Nov 22, 2026  5 min read

QA practice

### [Risk-based testing: what to test first](https://everyrole.dev/blog/risk-based-testing)

Risk-based testing ranks what you test by what a break would cost and how likely it is. A two-question method for small teams, worked through on a real app.

Nov 22, 2026  6 min read
