Difference between Sanity Testing and Regression Testing - GeeksforGeeks (2024)

Skip to content

Difference between Sanity Testing and Regression Testing - GeeksforGeeks (1)

Last Updated : 15 Sep, 2022

Summarize

Comments

Improve

Suggest changes

Like Article

Like

Save

Report

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 TestingRegression 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.


Please Login to comment...

Similar Reads

Difference between Re-Testing and Sanity Testing

Prerequisite - Software Testing 1. Re-Testing: In Software Testing, Re-Testing refers to the testing again of a module to ensure that the bug is fixed. This means it confirms the test cases that failed in the final execution are passing after the errors/defects are fixed. The process of Re-Testing is as follows - At first an error is detected in an

3 min read

Sanity Testing Vs Smoke Testing - Software Engineering

Smoke Testing is a type of testing that is done to ensure that the acute functionalities of the program are working fine. It is also known as a subset of acceptance testing, and it is used to test all over the function of the system/product. On the other hand. Sanity Testing is done to check the bugs have been fixed after the build. And it is also

5 min read

Sanity Testing - Software Testing

Sanity testing is a type of software testing that aims to quickly evaluate whether the basic functionality of a new software build is working correctly or not. It is usually performed on builds that are in the initial stages of development before the full regression testing is performed. Sanity testing is limited in scope and typically focuses on c

8 min read

Difference between Smoke Testing and Regression Testing

Prerequisite - Software Testing 1. Smoke Testing : Smoke Test refers to an initial testing which is performed on newly developed software build . By this kind of software testing it is clear that the core functionalities of software product is working perfectly without any issues. If any case the software fails to pass the smoke testing then it is

3 min read

Difference between Regression Testing and Development Testing

1. Regression TestingIt is the process of testing the modified parts of the code and the parts that might get affected due to the modifications to ensure that no new errors have been introduced in the software after the modifications have been made. Regression means the return of something and in the software field, it refers to the return of a bug

2 min read

Comparison between Regression Testing and Re-Testing - Software Engineering

This article focuses on discussing the comparison between Regression Testing and Re-Testing. What is Regression Testing?Regression Testing is a type of software testing, which is used to verify that modifications in the software or the environment have not caused any unintended adverse side effects. This technique involves retesting the entire syst

4 min read

Types of Regression Testing in Software Testing

Regression Testing :Regression testing is done to ensure that enhancements or defect fixes made to the software work properly and do not affect the existing functionality. It is generally done during the maintenance phase of SDLC. Regression Testing is the process of testing the modified parts of the code and the parts that might get affected due t

4 min read

Difference between End-to-end Testing and Unit Testing

1. End-to-end Testing: End-to-end testing is the type of software testing used to test entire software from starting to the end along with its integration with the external interfaces. The main purpose of end-to-end testing is to identify the system dependencies and to make sure that the data integrity and communication with other systems, interfac

5 min read

Difference between Frontend Testing and Backend Testing

Front End Testing: Front End Testing is a type of testing that tests the presentation layer of a 3 tier architecture in a web application. Basically, front-end testing is performed on the user interface (UI) which is also known as the presentation layer in 3-tier architecture. Back End Testing: Back-end testing is a type of testing that tests the a

2 min read

Difference between Black Box Testing and Gray Box Testing

Black Box Testing: Black Box Testing is a Software Testing technique in which the tester doesn't know the internal structure, design and implementation of the software application that is being tested. Gray Box Testing: Gray Box Testing is a software testing technique which is a combination of Black Box Testing technique and White Box Testing techn

4 min read

Difference between Unit Testing and Integration Testing

Unit Testing: Unit Testing is a type of software testing where individual software components are tested. Unit Testing of the software product is carried out during the development of an application. An individual component may be either an individual function or a procedure. Unit Testing is typically performed by the developer. It is a testing met

2 min read

Difference between Performance Testing and Load Testing

Performance Testing: Performance Testing is a type of software testing that is carried out to determine system performance in terms of sensitivity, reactivity, and stability under a particular workload. Load Testing: Load Testing is a type of software testing that determines the performance of a system, software product, or software application und

2 min read

Difference between Unit Testing and Sandwich Testing

Unit Testing: Unit Testing is the type of Software Testing level in which each individual components of a software are tested. Unit Testing is generally performed by developer. Unit Testing can't be used for those systems which have a lot of interdependence between different modules. It does not allow for parallel testing. Sandwich Testing: Sandwic

3 min read

Difference between Stress Testing and Volume Testing

Stress Testing: Stress testing is a type of software testing that is performed to test the stability and reliability of the system under extremely heavy conditions. It also tests the robustness of the system. Volume Testing: Volume Testing is a type of software testing that is performed to test the performance or behavior of the system or applicati

2 min read

Difference between Volume Testing and Load Testing

Volume Testing: Volume Testing is a type of software testing that is performed to test the performance or behavior of the system or application under the huge amount of data. Volume testing is also called flood testing and it is a type of performance testing. Load Testing: Load Testing is a type of software testing that is performed to test the per

2 min read

Difference between Active Testing and Passive Testing

Active Testing: Active Testing is a type of software testing in which a tester interacts with a software as an end user. Tester assumes that he/she himself/herself is the user of the software and gives the different combinations of the input in order to validate the actual behavior of the software. Passive Testing: Passive testing is a type of soft

2 min read

Difference between System Testing and End-to-end Testing

Introduction : System Testing and End-to-end Testing are two different types of software testing that are used to ensure the quality and functionality of a software system. System Testing is a type of testing that is performed on the complete system or software application to evaluate its behavior and performance. It is generally conducted after th

4 min read

Difference between System Testing and Integration Testing

Introduction : System testing and integration testing are two critical types of software testing that are used to ensure the quality and reliability of software products. Integration testing is a type of testing that focuses on verifying the interfaces and interactions between software components or modules. It is conducted after unit testing and e

4 min read

Difference between Scrum Testing and V-Model Testing

Scrum Testing: Scrum testing is a type of software testing that is used for testing the software in Agile Software Development Model. It is basically a framework used in agile software development process. Scrum testing is used to test the complicated software. Along with all these it also checks the quality, performance and the usability of the so

2 min read

Difference between Positive Testing and Negative Testing

Positive Testing: Positive testing is a type of software testing that is performed by assuming everything will be as expected. It is performed with the assumption that only valid and relevant things will occur. data set and all other functionalities will be as expected. Negative Testing: Negative testing is a type of software testing that is perfor

2 min read

Difference between Database Testing and Data warehouse Testing

Database Testing: Database testing is the testing of security, performance and various other aspects of the database. It also includes various actions taken for testing of data. IT is basically performed on the small data size that is stored in the database system. Example: Testing of data of a college's students results. Data warehouse Testing: Da

2 min read

Difference between Pilot Testing and Alpha Testing

Pilot Testing: Pilot testing is the type of software testing where a group of users uses the software in totality before the final launch or deployment of the software. This testing verifies a component of the system or the entire system under a real time operating condition. The purpose of the pilot Testing is to evaluate the feasibility, time, co

2 min read

Difference between Scrum Testing and Waterfall Testing

1. Scrum Testing : Scrum testing is a type of software testing that is the part of agile testing. It is basically a framework used in agile software development process. Scrum testing is used to design the complicated software. It also checks the quality, performance and the usability of the software. Basically, it focuses on the development and ma

3 min read

Difference between Functional Testing and Implementational Testing Approach

Testing simply means an activity that is performed in software engineering to check whether actual result matches expected result or not and to ensure and confirm that there is no defect in software system i.e., Software system is defect-free. There are various types of testing of software that can be performed. Two of them are Functional testing a

2 min read

Difference between Re-Testing and Smoke Testing

Prerequisite - Software Testing 1. Re-Testing: Retesting is a type of software testing which tests a particular bug after it has been fixed. When the testers test the product they raise the bug when they find it and after that, it is assigned to the developer team to fix it. In Retesting, some test scenario is analyzed with some data in a new build

3 min read

Difference between System Testing and Sandwich Testing

1. System Testing : System Testing is also called as the black box testing. It is perform to check whether the software or product meets the specified requirements or not. It is performed by both testers and developers. It comprises the testing's system testing and integration Testing. It is perform through more positive and negative test cases. 2.

3 min read

Difference between Acceptance Testing and Sandwich Testing

1. Acceptance Testing : Acceptance Testing is done after the system testing. It is done to check whether the software meets the customer requirements or not. It is used by testers, stakeholders as well as clients. It includes only a Functional Testing and it consist of two testing Alpha Testing and Beta Testing. 2. Sandwich Testing : Sandwich Testi

2 min read

Difference between End-to-end Testing and Sandwich Testing

1. End-to-end Testing : End-to-end testing is the type of software testing used to test entire software from starting to the end along with its integration with external interfaces. The main purpose of end-to-end testing is to identify system dependencies and to make sure that the data integrity and communication with other systems, interfaces and

2 min read

Difference between Integration Testing and Sandwich Testing

1. Integration Testing : Integration Testing is the type of software testing where software modules are integrated logically and tested as a group. Integration Testing major focuses on verifying data communication among these modules. It is the collection of the modules of the software, where the relationship and the interfaces between the differen

2 min read

Difference between Mobile App Testing and Web App Testing

Mobile App Testing: Mobile app testing refers to process of testing application software simply for controlling and handling mobile devices. It is used to test mobile app for its functionality, usability, compatibility, etc. Web App Testing: Web app testing refers to process of testing application software hosted on web to ensure quality, functiona

3 min read

We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy

Difference between Sanity Testing and Regression Testing - GeeksforGeeks (4)

'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id, check: true }), success:function(result) { jQuery.ajax({ url: writeApiUrl + 'suggestions/auth/' + `${post_id}/`, type: "GET", dataType: 'json', xhrFields: { withCredentials: true }, success: function (result) { $('.spinner-loading-overlay:eq(0)').remove(); var commentArray = result; if(commentArray === null || commentArray.length === 0) { // when no reason is availaible then user will redirected directly make the improvment. // call to api create-improvement-post $('body').append('

'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id, }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.unlocked-status--improve-modal-content').css("display","none"); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { $('.spinner-loading-overlay:eq(0)').remove(); var result = e.responseJSON; if(result.detail.non_field_errors.length){ $('.improve-modal--improve-content .improve-modal--improve-content-modified').text(`${result.detail.non_field_errors}.`); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); $('.improvement-reason-modal').hide(); } }, }); return; } var improvement_reason_html = ""; for(var comment of commentArray) { // loop creating improvement reason list markup var comment_id = comment['id']; var comment_text = comment['suggestion']; improvement_reason_html += `

${comment_text}

`; } $('.improvement-reasons_wrapper').html(improvement_reason_html); $('.improvement-bottom-btn').html("Create Improvement"); $('.improve-modal--improvement').hide(); $('.improvement-reason-modal').show(); }, error: function(e){ $('.spinner-loading-overlay:eq(0)').remove(); // stop loader when ajax failed; }, }); }, error:function(e) { $('.spinner-loading-overlay:eq(0)').remove(); var result = e.responseJSON; if(result.detail.non_field_errors.length){ $('.improve-modal--improve-content .improve-modal--improve-content-modified').text(`${result.detail.non_field_errors}.`); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); $('.improvement-reason-modal').hide(); } }, }); } else { if(loginData && !loginData.isLoggedIn) { $('.improve-modal--overlay').hide(); if ($('.header-main__wrapper').find('.header-main__signup.login-modal-btn').length) { $('.header-main__wrapper').find('.header-main__signup.login-modal-btn').click(); } return; } } }); $('.left-arrow-icon_wrapper').on('click',function(){ if($('.improve-modal--suggestion').is(":visible")) $('.improve-modal--suggestion').hide(); else{ $('.improvement-reason-modal').hide(); } $('.improve-modal--improvement').show(); }); function loadScript(src, callback) { var script = document.createElement('script'); script.src = src; script.onload = callback; document.head.appendChild(script); } function suggestionCall() { var suggest_val = $.trim($("#suggestion-section-textarea").val()); var array_String= suggest_val.split(" ") var gCaptchaToken = $("#g-recaptcha-response-suggestion-form").val(); var error_msg = false; if(suggest_val != "" && array_String.length >=4){ if(suggest_val.length <= 2000){ var payload = { "gfg_post_id" : `${post_id}`, "suggestion" : `

${suggest_val}

`, } if(!loginData || !loginData.isLoggedIn) // User is not logged in payload["g-recaptcha-token"] = gCaptchaToken jQuery.ajax({ type:'post', url: "https://apiwrite.geeksforgeeks.org/suggestions/auth/create/", xhrFields: { withCredentials: true }, crossDomain: true, contentType:'application/json', data: JSON.stringify(payload), success:function(data) { jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-section-textarea').val(""); jQuery('.suggest-bottom-btn').css("display","none"); // Update the modal content const modalSection = document.querySelector('.suggestion-modal-section'); modalSection.innerHTML = `

Thank You!

Your suggestions are valuable to us.

You can now also contribute to the GeeksforGeeks community by creating improvement and help your fellow geeks.

`; }, error:function(data) { jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Something went wrong."); jQuery('#suggestion-modal-alert').show(); error_msg = true; } }); } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Minimum 5 Words and Maximum Character limit is 2000."); jQuery('#suggestion-modal-alert').show(); jQuery('#suggestion-section-textarea').focus(); error_msg = true; } } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Enter atleast four words !"); jQuery('#suggestion-modal-alert').show(); jQuery('#suggestion-section-textarea').focus(); error_msg = true; } if(error_msg){ setTimeout(() => { jQuery('#suggestion-section-textarea').focus(); jQuery('#suggestion-modal-alert').hide(); }, 3000); } } document.querySelector('.suggest-bottom-btn').addEventListener('click', function(){ jQuery('body').append('

'); jQuery('.spinner-loading-overlay').show(); if(loginData && loginData.isLoggedIn) { suggestionCall(); return; } // load the captcha script and set the token loadScript('https://www.google.com/recaptcha/api.js?render=6LdMFNUZAAAAAIuRtzg0piOT-qXCbDF-iQiUi9KY',[], function() { setGoogleRecaptcha(); }); }); $('.improvement-bottom-btn.create-improvement-btn').click(function() { //create improvement button is clicked $('body').append('

'); $('.spinner-loading-overlay').show(); // send this option via create-improvement-post api jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.improvement-reason-modal').hide(); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { $('.spinner-loading-overlay:eq(0)').remove(); var result = e.responseJSON; if(result.detail.non_field_errors.length){ $('.improve-modal--improve-content .improve-modal--improve-content-modified').text(`${result.detail.non_field_errors}.`); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); $('.improvement-reason-modal').hide(); } }, }); });

Difference between Sanity Testing and Regression Testing - GeeksforGeeks (2024)
Top Articles
Instant Funding - The Program With the Highest Success Rate
Rocky Mountaineer train | Routes, prices & travel guide
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 5480

Rating: 5 / 5 (80 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.