Web apps & software

What is smoke testing?

Smoke testing is a short round of basic checks run right after a new build or deployment to confirm the application starts and its most important functions work, before anyone spends time on deeper testing.

The name

It comes from hardware: switch the device on, and if smoke comes out, stop. In software, if the login page throws an error, there is no point checking the reports.

A sample checklist for a web app

  • The home page loads over HTTPS and returns the expected status.
  • A test user can sign in and out.
  • A record can be created, saved and read back.
  • The database and queue connections report healthy.
  • Static files and the main API route respond.
  • A background job runs and completes.

Automating it

A smoke suite is often a handful of scripted checks that run after each deploy in staging and again in production, and failure triggers an alert or an automatic rollback. A health-check endpoint that verifies dependencies is a lightweight start.

What it is not

It does not prove the release is good, only that it is not obviously broken. Regression and acceptance testing follow.

Questions, answered

Minutes at most. If it takes longer, it has grown into a regression suite.

They are close cousins. Smoke covers broad basics of a build; sanity narrowly rechecks a specific fix.

By the Stegnor team · Updated