Back to all articles
QA Testing

Sanity Testing: Confirming a Fix Actually Fixed the Thing

August 17, 20263 min readJohn Adeniyi

Sanity testing gets confused with smoke testing constantly, and while they're related, they answer different questions. Smoke testing asks "is this build stable enough to test at all?" Sanity testing asks something narrower: "did this specific fix or change actually work, and does it look like it didn't break anything obviously adjacent?"

When you reach for sanity testing

Sanity testing shows up after a targeted change, a bug fix, a small feature tweak, a minor patch, when you need a fast, focused confirmation before deciding whether deeper regression testing is warranted.

  • A developer fixes a checkout bug. Sanity testing confirms checkout now works, and quickly checks the immediately related flows, not the entire application.
  • A small config change goes out. Sanity testing verifies the specific area it touches behaves correctly.
  • A hotfix ships to production. Sanity testing gives a fast "yes, this looks right" before wider verification happens.

Sanity vs. smoke vs. regression

It's worth being precise about the difference, because teams often use these terms interchangeably and lose useful signal in the process:

Test typeScopeWhen
Smoke testingBroad but shallow, across the whole appRight after a new build
Sanity testingNarrow but slightly deeper, around a specific changeRight after a specific fix
Regression testingBroad and deep, across affected areasBefore a release

Sanity testing is the smallest, fastest of the three, unscripted, focused, and usually done without formal documentation.

Sanity testing isn't about proving nothing else broke. It's about quickly confirming the thing that was supposed to be fixed, is fixed, before committing more time to verify further.

Why skipping it costs more than it saves

It's tempting to skip sanity testing on "small" fixes, and that instinct is exactly how small fixes turn into re-opened tickets. A two-minute sanity check after a fix is dramatically cheaper than discovering three days later, during a full regression pass, that the "fixed" bug never actually got fixed.

Building this habit into a team's workflow, quick verification immediately after every fix, before it's marked resolved, closes a gap that causes a surprising share of "wait, didn't we fix this already?" moments.

If your defect resolution process needs tighter verification discipline, that's exactly the kind of process gap QA Solucity's QA process setup service closes. Reach out to talk through your workflow.

JA

John Adeniyi

Quality Engineering

Share:

Keep reading

More from the blog