Sanity testing

Sanity testing image

What is sanity testing?

Sanity testing verifies that specific functionality works after changes. It's more targeted than smoke testing and examines particular features affected by code fixes or updates. 

This quick check confirms whether an application deserves further testing resources or needs immediate fixes first. Teams use it as a rational "sanity check" before investing in comprehensive test cycles.

Do you have any examples of sanity testing?

After deploying a fix for a checkout bug, you might run a sanity test by placing an order to confirm customers can complete purchases. You'd focus only on the payment flow rather than testing the entire application.

Why is sanity testing important?

Sanity testing saves time by identifying show-stopping issues early. It prevents your team from wasting hours on comprehensive testing when fundamental functions stay broken. It serves as an effective quality gate before more extensive test cycles.

What are the limitations of sanity testing?
Sanity testing only catches obvious problems in the areas you check. It won't reveal bugs in untested features or subtle integration issues. While essential for rapid development, it shouldn't replace thorough testing, especially for critical systems or major releases.



Stay within OWASP & CWE image
Catch security flaws and stay within the most current standards. Try Jtest for free for 14 days!
Explore MoT
TestBash Brighton 2025 image
Wed, 1 Oct
On the 1st & 2nd of October, 2025 we'll be back to Brighton for another TestBash: the largest software testing conference in the UK
MoT Foundation Certificate in Test Automation
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise
This Week in Testing
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.