A smoke test answers one question quickly: is this build or deployment fundamentally working? For an API that usually means the service starts, health checks pass, authentication works, and a handful of critical endpoints answer with the right status and shape. If smoke fails, there is no point running the full suite.
Smoke tests run right after a deploy — often against production itself — and before longer suites in CI. They touch every major dependency once (database, cache, auth provider, payment sandbox) with read-only or self-cleaning calls, and they are kept short enough that nobody is tempted to skip them.
That a smoke test is a small regression suite. Its job is breadth, not depth: one call through each critical path beats twenty variations of one endpoint. A smoke suite that grows to forty minutes has stopped being a smoke suite.
A good first smoke check here: GET /pizza/v1/menu, POST /auth/v1/login, and GET /auth/v1/me with the token it returns — three calls touching public reads, authentication and authorization.
All glossary terms · Testing techniques · All 39 mock REST APIs
Last updated