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, 2022 in Machine Learning by Dev
• 6,000 points
1,262 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.

Elevate your skills with our comprehensive Machine Learning Course.

answered Apr 7, 2022 by Nandini
• 5,480 points

Related Questions In Machine Learning

0 votes
1 answer

What's the difference between regression testing and mutation testing?

Regression testing is a test suite that ...READ MORE

answered Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
1,003 views
0 votes
1 answer

Linear Regression :: Normalization (Vs) Standardization

Your data is transformed into a range ...READ MORE

answered Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
3,120 views
0 votes
1 answer

Classification vs Regression?

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

answered Mar 9, 2022 in Machine Learning by Nandini
• 5,480 points
782 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, 2022 in Machine Learning by Dev
• 6,000 points
2,372 views
0 votes
0 answers

Error integrating TestCafe with Azure Devops

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

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

What is 'Currying'?

I've seen references to curried functions in ...READ MORE

Dec 6, 2022 in Java by Nicholas
• 7,760 points
348 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
4,059 views
0 votes
1 answer

L2 regularization in Logistic regression vs NN

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

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

feature selection for regression vs classification

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

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