Smoke Test
Test del fumo
Uno Smoke Test è un piccolo set di controlli veloci. Mostra se una build può ricevere test più approfonditi o essere usata.
Un altro esempio
Dopo la distribuzione, l'automazione apre la home page e accede con un account di test. Legge una risposta API e invia una transazione innocua.
Parti principali
- 01Code or behavior under test
- 02Observable evidence
- 03Coverage, failure, and recovery
Usalo quando
Eseguilo dopo il confezionamento o il deployment. Interrompi versioni chiaramente difettose prima di test lunghi o traffico reale.
Non usarlo quando
Non chiamare un'intera suite di regressione un test rapido. Un passaggio non prova i casi limite.
Nome usato nel codice
critical-path probes after build/deploy Prima di spedire
Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule.
Outcome: Complete the task with Test del fumo (Smoke Test). User context: Dopo la distribuzione, l'automazione apre la home page e accede con un account di test. Legge una risposta API e invia una transazione innocua. Validation approach: Test del fumo (Smoke Test). Why it fits: Eseguilo dopo il confezionamento o il deployment. Interrompi versioni chiaramente difettose prima di test lunghi o traffico reale. Do not use it when: Non chiamare un'intera suite di regressione un test rapido. Un passaggio non prova i casi limite. Test requirements: Name the system and test environment. Define prepared test data, other inputs, and the result you can observe. Include failure and edge cases, allowed error, isolation, and cleanup. Test operations: Make failures easy to diagnose. Control random or changing inputs. Name an owner. Keep the test fast and simple enough for its release gate. Acceptance criteria: The test fails for the known bug and passes after the fix. It repeats in the target environment, gives useful evidence, and does not expose or change unrelated data. Evidence and limits (evidence boundary): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Release gate, environment, prepared test data, allowed error, time budget, owner, and flaky-test rule.
Controlla questa richiesta
Review how Test del fumo (Smoke Test) is used now. Definition: Uno Smoke Test è un piccolo set di controlli veloci. Mostra se una build può ricevere test più approfonditi o essere usata. Release checks: Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.