A Beginner’s Guide to Sanity Testing by QA Training Hub

A Beginner’s Guide to Sanity Testing by QA Training Hub

Sanity testing is a crucial aspect of software testing that ensures recent code changes do not adversely affect the existing functionalities. It acts as a checkpoint before proceeding with more extensive testing phases. This blog delves into the meaning, functionality, attributes, process, examples, features, advantages, and disadvantages of sanity testing. If you’re looking to master this testing technique, consider enrolling in an online Sanity Testing course by Subba Raju Sir at QA Training Hub.

What is Sanity Testing?

Sanity testing is a type of software testing performed after receiving a software build, ensuring that specific functionality is working as expected before moving forward with more rigorous testing. It focuses on verifying that recent bug fixes or minor changes in code do not introduce new defects.

Functionality of Sanity Testing

  • Validates minor changes without performing extensive regression testing.

  • Helps in identifying quick defects introduced due to bug fixes.

  • Ensures critical functionalities are still intact after modifications.

  • Conducted on stable builds before moving to regression testing.


Attributes of Sanity Testing

  • Narrow & Focused – It checks only the modified or impacted modules.

  • Quick Execution – Takes minimal time compared to full regression testing.

  • High-Level Testing – Ensures fundamental software operations are intact.

  • Performed Manually – Usually conducted without automation tools.


Process of Sanity Testing

  1. Identify Changes – Understand the modifications in the software.

  2. Verify Critical Features – Ensure core functionalities are still operational.

  3. Execute Test Cases – Perform necessary tests related to recent changes.

  4. Analyze Results – Check whether the application is stable.

  5. Approve or Reject the Build – If the sanity check passes, move forward with further testing; if it fails, return the build for corrections.


Examples of Sanity Testing

Example 1: E-commerce Website

A developer fixes a payment gateway issue. Sanity testing ensures that:

  • Users can proceed to checkout.

  • Payment transactions are successfully completed.

  • The confirmation page appears without errors.


Example 2: Banking Application

After an update, sanity testing verifies that:

  • Users can log in without issues.

  • Transactions reflect accurate balances.

  • The logout functionality is operational.


https://qatraininghub.com/a-beginners-guide-to-sanity-testing-by-qa-training-hub/

Address

Ram's Enclave, Flat No.111, Sanjeeva Reddy Nagar Rd, Vikaspuri, Erragadda, Hyderabad,Telangana 500018.

Call Us

+91 8977262627

Email

[email protected]

 

Leave a Reply

Your email address will not be published. Required fields are marked *