Definition – Regression Testing is done to check that existing functionality is working fine whenever some new functionality is added to the Application.
Let’s take an example of an eCommerce Application. Let’s say We are working on a new Project and we have to test some features in our project, which are new features. New Features means, the features are developed now and ready for testing for the very first time. Below is the List of Features, that we are going to test. We will call them New Features.
New Features
So, Let’s say, We have tested all these Features, and all are passed. So Now, when more new functionalities or Features will be added then the above features will become existing features.
So, Let’s say that there are 2 new features added.
Now, Let’s see the list of New Features and Existing Features.
New Features | Existing Features |
1. Create a Pick up Order. 2. Create Exchange. | 1. Create Home Delivery Order 2. Search for a Product 3. Browse a Product 4. Checkout (Shipping Address, Shipping Method, Payment Method) 5. Create a Return. |
So, Let’s say We have tested these 2 new features and we found them passed. Now, We don’t know that the existing features are working fine or not, because we didn’t test them, and if we don’t test the existing features, then there is a chance of existing features failure, because there is a beliefe that New Features implementation might impact existing features, So whenever some new feature is implemented, then we should test Existing features along with New Features.
So, after testing the new features, We will have to check whether our existing features are working fine or not. So, we have to test our existing features as well. So, let’s say that after testing the existing features, we found that the 2 existing features are not working fine.
Those 2 Features are
So, We will have to raise defect for these existing functionalities issue.
This is how Regression Testing is done.
We can define Regression Testing as
Definition – Regression Testing is done to check that existing functionality is working fine whenever some new functionality is added to the Application
Regression Testing is generally done when
Retesting – What is ReTesting. Retesting simply menas, testing the same test cases again. But, why will someone test the same test case again, and the answer is, Whenever we test a test case for the first time, and we find it fail, then we log a defect, and then the developer fixes the defect, and then we have to test the test case again, and this is called Retesting.
Now, Let’s see the difference between Retesting and Regression testing
Retesting | Regression Testing |
Retesting means Testing a test case again. | Regression Testing means identifying the impact on existing features due to any new change. |
Retesting is done only when a defect is found | Regression Testing is done always, when some new feature is added, or some defect is found. |
Retesting is not time consuming as it is specific to one test case. | Regression Testing is time consuming as we have to test many features as part of Regression Testing |
Retesting is done on failed test cases | Regression Testing is generic testing. |
The importance of regression testing can be highlighted in the following ways:
Overall, regression testing is a critical component of software testing that ensures the stability and quality of software applications.
We have covered below topics in this session
List out the difference between Regression Testing and Retesting ?
Objects, Classes and Constructor in Javascript Classes and Objects A class in any programming language…
We will start from object oriented programming basics like What are different concepts in Object…
Why we can not over ride a Constructor This is a very important question, that,…
What is Arrow Function In the last session, We had discussed about Anonymous Function. Anonymous…
What is Anonymous Function Anonymous Function is a type of function which has no name…
What is Map, Reduce and Filter Map Filter and Reduce are higher order methods for…