Smoke, sanity and regression testing: what is the difference?
Three testing terms that teams mix up constantly. A plain-language guide to what each one means, when to run it and how they fit together in a release.
Smoke, sanity and regression testing get used interchangeably in meetings, which causes real confusion. Asking for "a quick regression" can mean three different things to three different people.
Here is a plain-language way to tell them apart.
Smoke testing: does it even start?
A smoke test is a very small, fast check that the most basic things work. The name comes from hardware: switch it on and see whether smoke comes out.
- When: right after a new build or deployment.
- What: the app opens, a user can log in, the main page loads, the key action responds.
- Time: a few minutes.
- Goal: decide whether the build is stable enough to test further. If smoke fails, you stop and send it back.
Sanity testing: did this specific change work?
A sanity test is a narrow check focused on one change or fix. A bug was fixed in the discount calculation, so you check that discount calculation and the immediate neighbourhood around it.
- When: after a small fix or a minor update.
- What: the specific feature that changed, and what it touches directly.
- Time: minutes to an hour.
- Goal: confirm the change behaves as intended before spending time on wider testing.
Regression testing: did we break something else?
A regression test checks that things that used to work still work after a change. The risk is not the new code itself but its side effects on old features.
- When: before a release, and after significant changes.
- What: a broad set of existing flows, chosen by risk: signup, payments, permissions and so on.
- Time: from minutes (automated) to days (manual).
- Goal: catch unintended damage elsewhere in the product.
A side-by-side view
- Scope: smoke is shallow and wide, sanity is narrow and focused, regression is broad and deep.
- Trigger: smoke after every build, sanity after a specific change, regression before a release.
- Automation: smoke and regression are good candidates for automation. Sanity is often done by hand because it depends on the change.
How they fit in one release
A realistic order looks like this:
- A new build arrives and the smoke test runs. If it fails, the build goes back.
- The team verifies each fix with a sanity test.
- Before release the regression suite runs to protect everything else.
Skipping a stage usually shows up as a bug in production that "worked last week".
Where to start
If you have no automation yet, automate the smoke test first. It is small, runs on every build and gives the fastest return. Then grow into regression over time. We explain the basics in our testing glossary, and you can get a Full QA + Automation quote if you want a suite built for you.
Frequently asked questions
Is smoke testing the same as sanity testing?
Which should be automated first?
Do we need all three for a small product?
Need this done for you?
We test web, mobile, and desktop apps for startups. Fixed prices, fast turnaround.
See packagesRelated posts
What to automate first: a practical regression testing order for small teams
Most automation projects stall because teams automate the wrong things first. Here is the order we use: what to automate now, what to wait on, and what to leave manual.
AI, MCP and skills in a real QA process: where each piece fits
AI models, MCP servers and agent skills are often mixed up. Each does a different job. Here is how the three fit into a QA process, where a human must stay in the loop, and the guardrails we keep.