What Is Smoke Testing in Software? Definition, Examples and How to Do It

smoke test software
On this page
  1. Smoke testing at a glance
  2. Why smoke testing matters
  3. Example smoke test checklist (web shop)
  4. How to do smoke testing
  5. Smoke vs sanity vs regression testing
  6. Smoke testing in production
  7. Advantages and limitations
  8. FAQ

Smoke testing is a quick set of tests run on a new software build to check that its most important functions work at all, for example that the app starts, users can log in and the main page loads. If the smoke test fails, the build is rejected straight away and no time is wasted on deeper testing. It is also called build verification testing (BVT) or "confidence testing".

Smoke testing at a glance

QuestionAnswer
GoalDecide if a build is stable enough to test further
WhenOn every new build or deployment (often automatically in CI/CD)
ScopeWide but shallow: critical paths only
DurationMinutes, not hours
WhoAutomated pipeline, QA engineers or developers
ResultPass (continue testing / deploy) or fail (reject the build)

The name comes from hardware: power a new circuit board on, and if it starts smoking, there's no point testing anything else.

Why smoke testing matters

  • Catches broken builds early, before testers spend hours on a version that can't even start.
  • Protects production: a smoke test right after deployment confirms the live site still works (and can trigger an automatic rollback).
  • Fast feedback for developers in continuous integration.
  • Cheap insurance: a handful of automated checks prevents the most embarrassing failures.

Example smoke test checklist (web shop)

  1. Home page loads with status 200 and no errors in the console.
  2. User can sign up and log in.
  3. Search returns results.
  4. Product page opens and "Add to cart" works.
  5. Checkout page loads (payment in test mode).
  6. Key API endpoints respond (health check, login, orders).
  7. Database and third-party connections (payment, email) are reachable.

Each check is shallow: it doesn't test every coupon or edge case, just that the feature isn't broken.

How to do smoke testing

  1. List the critical user journeys (the features that would make the product useless if broken).
  2. Write one short test per journey, manual at first if needed.
  3. Automate them with a UI tool such as Playwright, Cypress or Selenium, plus API checks with Postman/Newman or a simple HTTP script.
  4. Run them on every build in your pipeline (GitHub Actions, GitLab CI, Jenkins), and again after each deployment to staging and production.
  5. Fail fast: stop the pipeline and alert the team if any smoke test fails.
  6. Keep the suite small and fast (ideally under 10–15 minutes); move detailed checks into regression tests.

Smoke vs sanity vs regression testing

Smoke testingSanity testingRegression testing
Question"Does the build basically work?""Does this specific fix or change work?""Did the change break anything that used to work?"
ScopeWide and shallow, critical pathsNarrow and deep, one areaWide and deep, most features
WhenEvery new buildAfter a bug fix or small changeBefore releases, after major changes
TimeMinutesMinutes to an hourHours (usually automated)
Scripted?Usually scripted/automatedOften unscriptedScripted and automated

More on the bigger picture in what QA testing is.

Smoke testing in production

After a release, a short post-deployment smoke test (or "synthetic monitoring" that runs the same checks every few minutes) confirms real users can log in and buy. Combine it with feature flags, canary releases or blue-green deployments so a failing check can roll back quickly.

Advantages and limitations

AdvantagesLimitations
Finds show-stopper bugs within minutesDoesn't find deeper or edge-case bugs
Saves tester time on broken buildsPassing a smoke test doesn't mean the build is release-ready
Easy to automate and run oftenNeeds updating as critical features change

FAQ

Is smoke testing manual or automated?

Either, but in modern teams it's almost always automated so it runs on every build.

Who performs smoke testing?

The CI/CD pipeline runs it automatically; QA engineers or developers write and maintain the tests.

Is smoke testing the same as unit testing?

No. Unit tests check single functions; smoke tests check that the assembled application's main features work end to end.

What is a smoke test in other fields?

In plumbing and HVAC, harmless smoke is pushed through pipes or ducts to find leaks. The software meaning borrowed the idea of a quick "does it leak/burn" check.

Related guides