Business analysis glossary
Sanity Testing
What it is
Sanity testing is a narrow, focused check after a small change or bug fix to confirm that the specific area now works as expected, without running the full test suite. It is less about the whole system and more about whether this particular fix makes sense before further testing.
Why it matters
It saves time when a fix comes in during testing: instead of retesting everything, a quick sanity check shows whether the fix is worth deeper testing. Analysts often run sanity checks themselves on defects they raised, because they know exactly what the expected behaviour should be.
Example
A defect said the delivery date showed in the wrong format for Indian users. When the fix arrives, the analyst runs a sanity test: three orders with different dates now show day, month and year in the expected order. She then marks the defect ready for retest by the test team.