Sanity Testing vs Regression Testing

0 votes

I did some researches and i found out that :

Sanity Testing is the type of software testing, that is performed after a software build is received with changes in functionality and code. Sanity testing is performed in order to assure that the bugs have been fixed and there are no other bugs originated with the new changes.

Regression testing is testing existing software features to make sure that a change or addition hasn't broken any existing functionality

I can't see the difference between these two testing techniques? Any clarification?

Apr 5 in Machine Learning by Dev
• 6,000 points
76 views

1 answer to this question.

0 votes
Sanity testing entails ensuring that the application's operation remains normal and does not appear to be illogical. The sanity test is failed if you try the simplest happy path and the result is incorrect.

As per Wikipedia:

A sanity check, also known as a sanity test, is a quick way to see if a claim or the result of a computation is true. It's a basic test to assess if the stuff generated is logical (i.e., the creator was thinking sensibly and using sanity). The purpose of a sanity test is to rule out specific types of obviously incorrect findings rather than to capture every potential mistake. To execute the test, a rule-of-thumb or back-of-the-envelope calculation might be used. The benefit of running a first sanity test is that it allows you to quickly assess fundamental function.

Regression testing is extensively inspecting everything that might be affected to ensure that no functionality has changed and no new bugs have appeared. It entails determining all functions impacted by the altered code and testing not only the happy path but also other flows.

As per Wikipedia:

Regression testing (sometimes known as non-regression testing[1]) is the process of re-running functional and non-functional tests to confirm that previously designed and tested software continues to function after a change. [2] If not, this is referred to as a regression. Bug patches, software updates, configuration changes, and even electronic component substitutions may all necessitate regression testing. [3] Test automation is widely used since regression test suites tend to grow with each discovered fault. To establish an appropriate subset of tests, a change effect analysis is sometimes undertaken (non-regression analysis[4]).
Tests of sanity are only superficial. In-depth regression testing is required.
answered Apr 7 by Nandini
• 5,480 points

Related Questions In Machine Learning

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Classification vs Regression?

You are correct: categorization applies a label ...READ MORE

answered Mar 9 in Machine Learning by Nandini
• 5,480 points
35 views
0 votes
1 answer
0 votes
1 answer

What are unit tests, integration tests, smoke tests, and regression tests?

Unit test: Specify and test one point ...READ MORE

answered Mar 7 in Machine Learning by Dev
• 6,000 points
54 views
0 votes
0 answers

Error integrating TestCafe with Azure Devops

I want to integrate TestCafe with Azure ...READ MORE

Mar 29 in Other DevOps Questions by Kichu
• 19,040 points
24 views
0 votes
3 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi ,  Yes, you can use headless browsers ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,190 points
2,725 views
0 votes
2 answers

How can we take screenshots of tests in Selenium 2 using C#

Hey, try using following code command to ...READ MORE

answered Aug 23, 2019 in Selenium by Abha
• 28,100 points
545 views
0 votes
1 answer

L2 regularization in Logistic regression vs NN

L2 Regularization is known as Ridge Regression. ...READ MORE

answered Mar 2 in Machine Learning by Nandini
• 5,480 points
106 views
0 votes
1 answer

feature selection for regression vs classification

There are various feature selection processes used ...READ MORE

answered Mar 3 in Machine Learning by Nandini
• 5,480 points
71 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP