Monday, December 30, 2024
Google search engine
HomeGuest BlogsDifference between Sanity Testing and Regression Testing

Difference between Sanity Testing and Regression Testing

Prerequisite – Software Testing 

1. Sanity Testing: 
Sanity Testing refers to analyzing/testing the software after modification. It is a part of Regression Testing, where Regression Testing focuses on a wide variety of areas of the application, there Sanity Testing focuses only on certain functionalities. It examines the product quality and its readiness for further tests. 

Sanity Testing checks the software product after the addition/changes of some functionalities. This testing is usually performed after receiving a fairly stable software build. 

2. Regression Testing: 
Regression Testing refers to analyzing/testing deeply all the functionalities of the software product/system after any changes in code, bug fixes, modification, update in functionality, etc. It checks and confirms that the recent changes in the software product have no adverse effects on the other functionalities of the software product. 

Regression Testing is the complete testing of the functionalities which is performed after checking certain functionalities by Sanity Testing. This testing is performed on stable builds. 

Difference between Sanity Testing and Regression Testing :

S. No. Sanity Testing Regression Testing
01. Sanity Testing is performed to check the stability of new functionality or code changes in the existing build.  Regression testing is performed to check the stability of all areas impacted by any functionality change or code change.
02. Sanity Testing is part of Regression Testing. Regression Testing is independent testing.
03. It is executed before Regression Testing and after Smoke Testing. It is executed based on the project and availability of resources, manpower and time.
04. Sanity Testing is considered as a Surface Level Testing. Regression Testing is not considered as a Surface Level Testing.
05. It examines few functionality of the software. It examines extended mostly all functionality of the software.
06. Sanity Testing does not use script. Regression Testing uses Scripts.
07. Sanity Testing is often carried out manually. Regression Testing is often preferred to continue with automation.
08. Performing Sanity Testing increases the product cost/budget cost. Performing Regression Testing  increases the product cost/budget cost.
09. Complete test cases are not executed in the product during this Sanity Testing. Complete test cases are executed in the product during this Regression Testing.
10. This test is shallow and broad. This test is extensive and in-depth.
11. This testing is not routine and is only carried out in short times. This testing regresses even the smallest module.
12. Usually, a basic set of test cases is created here even though it might not always be possible. A set of test cases is developed for this testing.
Whether you’re preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, neveropen Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we’ve already empowered, and we’re here to do the same for you. Don’t miss out – check it out now!

RELATED ARTICLES

Most Popular

Recent Comments