Sobes.tech
Junior

What is Sanitary testing?

sobes.tech AI

Answer from AI

Sanity Testing is a subset of regression testing performed after making minor changes or bug fixes to an application to ensure that these changes have not caused any serious issues to the main functionality. It is quick and superficial.

Main characteristics:

  • Purpose: to ensure that recently made changes function as intended and have not disrupted critical parts of the system.
  • Scope: focused only on the modified code area and related components.
  • Depth: superficial, not delving into testing all possible scenarios.
  • When conducted: after deploying a build with minor changes or bug fixes, but before more comprehensive regression testing.
  • Who performs: usually testers.

Difference from smoke testing:

  • Smoke testing: checks the basic, critical functions of the entire application (a very broad but superficial check) to determine if further testing is possible.
  • Sanity testing: checks the specific modified area and related functions (more focused but still superficial) to decide if testing of this specific feature/fix can continue.

Example scenario:

If a bug related to discount calculation is fixed, sanity testing will only verify the functionality of discount calculation with several typical data sets to ensure the fix works and has not broken the standard discount application process.