All jobs / QA / manual tester / Functional Testing
QA / manual tester interview question · 0–1 years
What is the difference between smoke testing and sanity testing?
The strongest answer
A smoke is a short fixed set of checks that the build is worth testing at all; a sanity check is a narrow look at whatever just changed, to see it behaves before going deeper
Why it works
Right — one asks “is this build testable?”, the other asks “did this change do what it claims?”.
What a good answer covers
- Two questions, not two tools.
- Smoke: is the build worth testing?
- Sanity: did this change behave?
- Smoke is fixed; sanity follows the diff.
Answers that fall short
- Close, but not the strongest: Smoke is a quick check that the main features work, and sanity is a deeper check of one feature
Close — add that the smoke is the same every build while a sanity check follows whatever changed. - Weak: They are the same thing; different companies simply use different words for it
Teams do use the words loosely, but an interviewer wants the difference in scope and purpose. - Red flag: Smoke means the automated tests and sanity means the ones a person runs by hand
Either can be automated or manual; the difference is what they cover, not how they are run.
Who gets asked this
More Functional Testing questions
- The only written case is “user pays successfully.” What is missing?
- The regression pack is 12 hours long. What do you do?
- A suite is 15% red from two flaky tests. The team wants CI green for a demo. What do you do?
- A one-line change to the tax rate lookup is ready. Running the whole regression pack takes most of a day. How…
- A UI test fails when the suite is loaded. Alone it passes. What is your first hypothesis?
- Who owns the regression pack when every squad ships weekly?
- How do you talk about flakes with a team that wants “CI always green”?
- Where does integration testing stop and end-to-end begin, and which defects does each catch?