Skip to content

How to do it well

A good smoke test covers the critical path only, runs in under five minutes, and fails loudly with a clear message.

Designing a smoke suite

  1. Pick the critical path

    The routes, jobs or queries whose failure makes the product unusable.

  2. Keep it fast

    If the smoke suite takes longer than a coffee break, it will be skipped.

  3. Fail loudly

    A smoke failure must block the pipeline, not warn and continue.

  4. Do not duplicate

    Smoke tests gate; unit and integration tests verify. Do not turn smoke into a second integration suite.