Testing

What is Sanity Testing? | Software Testing 

What is Sanity Testing? | Software Testing 

What is Sanity Testing? | Software Testing 

In this article, you will learn the following:

  • What is Sanity Testing?
  • The objective of the Sanity Testing
  • Attributes of the Sanity Testing

What is Sanity Testing?

Sanity Testing is more preferred on stable builds. It is also considered the variant of regression testing. It is performed on the builds which are received from the development team with minor code changes. In general, this testing is more about checking whether the issues updated is resolved or not. It verifies the solved status of the defects and no new issues arise because of the modifications made in the code. It also makes sure that the modification made by the development team in the code and functions does not affect the associated functions and modules. It is only applicable to the connected modules that can be impacted by the changes. 

The objective of the Sanity Testing

The fundamental objective of the sanity testing is as follows:

  • The fundamental objective of implementing the sanity testing is to define that the planned functionality works unevenly as expected. If the sanity testing result appears to fail, then the build is not up to the mark and refused to save the cost and time complexity in more severe testing. 
  • The implementation of sanity testing makes sure that new modifications in the code don’t change the software’s current functionality. 
  • It also checks and verifies the accuracy of the newly added features and components in the application.

Attributes of the Sanity Testing

Some of the major features of the sanity testing:

  • Narrow and deep: Sanity Testing is a Narrow and deep process where the limited components are protected deeply. 
  • Subcategory of Regression Testing: It is a subpart of regression testing which mainly focuses on the less important unit of the application. It only tests the application’s efficiency under the new requirements changes. 
  • Unscripted: There is no need to execute the scripts for sanity testing.
  • No documentation: Sanity Testing can not be documented. 
  • Performed by test engineers: Sanity Testing is executed by the test engineers.
Yamini  Sharma

I am working as a professional engineer in "HIghRadius Technologies Pvt. Ltd." Passionate about learning and exploring new technologies. Enthusiast in writing and sharing what I have in my knowledge bucket.