Smoke, Sanity and Regression Testing
These three are about when you test and how much.
| Smoke | Sanity | Regression | |
|---|---|---|---|
| When | On every new build | After a small fix or change | Before a release, or after any change |
| Scope | Wide and shallow: do the main features work at all? | Narrow and deep: does this fix work, and the area around it? | Wide and deep: did anything that used to work break? |
| Time | Minutes | Minutes to an hour | Hours to days (often automated) |
| If it fails | Reject the build | Send the fix back | Log bugs, decide on release |
Retesting vs regression testing
Retesting runs the exact steps of a fixed bug to confirm the fix. Regression testing checks the rest of the app was not broken by that fix. You usually do both.
Free checklist: download the regression checklist template and adapt it to your project.
All 12 lessons in Manual Testing
- What Is Software Testing?
- QA vs QC vs Testing
- The Software Testing Life Cycle (STLC)
- Levels of Testing
- Functional vs Non-functional Testing
- Smoke, Sanity and Regression Testing
- Writing Good Test Cases
- Equivalence Partitioning and Boundary Value Analysis
- Decision Tables and State Transitions
- The Bug Life Cycle
- Writing a Great Bug Report
- Severity vs Priority, and Your Final Practice