QA StrategyHow to Write a Good Bug Report (Template and Examples)
The anatomy of a bug report developers can act on straight away, with a copy-paste template, before-and-after examples, and the mistakes that get reports bounced back.

Smoke, sanity and regression testing all answer the question "is this build OK?", but at very different depths and moments. Mixing them up leads to either wasted time (a full regression run on a build that doesn't even start) or escaped bugs (a quick sanity check standing in for regression).
Goal: decide quickly whether a build is stable enough to test further.
If the smoke test fails, the build is rejected. There's no point running 500 regression tests against it.
The name comes from hardware: switch it on and see whether smoke comes out.
Goal: after a small change or bug fix, confirm that the change behaves sensibly.
Sanity testing is often unscripted and done by the tester who knows the change.
Goal: make sure existing functionality still works after changes.
Regression bugs are among the most frustrating for users: something that worked yesterday stops working today.
| Smoke | Sanity | Regression | |
|---|---|---|---|
| Question | Is the build testable? | Does this change work? | Did anything else break? |
| Breadth | Wide | Narrow | Wide |
| Depth | Shallow | Deep on one area | Deep |
| When | Every build | After a fix or small change | Before release, in CI |
| Usually automated? | Yes | Often manual | Yes, mostly |
"Smoke testing is a quick, broad check that a build is stable enough to test. Sanity testing is a narrow check that a specific change or fix works. Regression testing is a broad, deeper check that existing features still work after changes. Smoke tests gate the build, sanity tests verify the change, and regression tests protect everything else."
Terms like these come up in every QA interview. Try the QAUnlocked quizzes on testing fundamentals, then put them into practice in a Practice Lab: after you report a bug, think about which smoke, sanity and regression checks would have caught it.
Be the first to comment.