Smoke and Sanity Testing
Smoke testing
Section titled “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
Section titled “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
Section titled “Quick comparison”- smoke: broad and shallow
- sanity: narrow and deep
Keep smoke tests small and reliable.
pch.coffeeTagline
pch.coffeeCtapch.feedbackHeading
pch.feedbackSubheading