Pcornel
Automation · Testing

Smoke Testing

Cheat sheet · https://pcornel.dk/topic.php?topic=5930

Back to the Topic

Answer

Smoke Testing is a deliberately small, fast set of high-value checks used to decide whether an automation build, deployment or environment is viable enough for deeper testing or limited progression.

Remember

  • Smoke pass ≠ release safe.
  • Application starts ≠ critical automation mutation works.
  • One happy path ≠ integration coverage complete.
  • Fast checks ≠ shallow assertions are acceptable.

First checks

  • curl -fsS https://<svc>/health — quick check
  • Smoke test suite after deploy — minimal checks
  • Fail deploy on smoke failure — gating

Commands

pytest -q -m smoke
Operational command for Run the smoke-test subset. Focus fields: collected tests, passed/failed/skipped counts and firs…

Verify in this order

deploy → smoke tests → continue/rollback

Where it usually breaks

Smoke Testing proves basic viability only; it intentionally leaves substantial behavior, edge cases and regression risk untested.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Smoke Testing testing proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Scope / oracleRequirement, case, expected result and exercised scope are explicitA generic green status exists without a trustworthy oracle or coverage boundary
Fixture / environmentData, dependencies and environment versions are reproducibleShared state, floating versions or stale fixtures make results non-reproducible
Effective outcomeAuthoritative state/read-back and service-relevant evidence match the expected resultTool/test/validator success substitutes for effective target or workload proof
Limits / next actionCoverage limits, unknowns and failures drive the next narrower checkUnknown evidence becomes pass, retries hide failures or broad success is inferred from one check

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5930

Confirmation

Confirm action

Continue?