Skip to content

Smoke and Sanity Testing

Smoke testing

A smoke test answers:

  • “Does the build basically work?”

It’s a quick suite that checks:

  • app starts
  • critical endpoints respond
  • major screens load

Often run:

  • after deployment to staging
  • after CI build

Sanity testing

A sanity test answers:

  • “Does this specific change look OK?”

It’s narrower and focused on a particular area.

Example:

  • after a checkout fix, sanity test checkout only

Quick comparison

  • smoke: broad and shallow
  • sanity: narrow and deep

Tip

Keep smoke tests small and reliable.

If this helped you, consider buying me a coffee ☕

Buy me a coffee

Was this page helpful?

Let us know how we did