Back to Course
Testing by Purpose

Sanity Testing

What is Sanity Testing?

Sanity testing is a narrow, focused check performed after receiving a minor code change or bug fix, to confirm that the specific functionality works as expected without doing a full regression pass.

Key Characteristics

  • Performed without formal test scripts, often on an ad-hoc basis.
  • Narrow in scope, focused only on the area affected by the change.
  • Usually done when time is limited and a full regression isn't feasible.

Smoke vs Sanity Testing

  • Smoke testing is broad but shallow, covering the whole application at a high level.
  • Sanity testing is narrow but deep, focused on one specific area after a change.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course