In the last topic we learned about Smoke Testing. And in this topic, we will study Regression Testing. Now we will see the Introduction of Regression Testing. Its example, why is Regression Testing used and challenges of Regression Testing. First of all we will see the introduction. We do Regression Testing so that the modified code does not affect the existing functionality. Or we will execute all or some selected test cases. With Regression Testing, the chances of finding the bug increases. We ensure that both old and the new code is working. Here we have taken an easy example of a credit card statement. In the credit card statement, there is a total amount due. For a particular person the total amount due is X rupees. Now the user wants that the amount due transaction should be in date range format. Like I gave an example of from 12th April to 25th April. Now, this functionality is added in the module. Now, when the user is entering the data of date, 12th April to 25th April. What was happening at that time? The total amount that is due, that is not showing for the current month but it is showing for the previous month. So, you can understand that this small change in the functionality, how much it has affected the earlier working functionality. The earlier working functionality got affected as we have added a new functionality. Why is Regression Testing used? If there is a small change in the requirement or a small code is modified. So, the Regression Testing has to be done. If any new feature is added in the software or there is some earlier bug which has been fixed. There are Regression Testing techniques. 1st is Retest all, 2nd is Regression Test Selection. 3rd is the Prioritization of Test Cases. First is Retest all, what will happen in this is how many test cases are there in a test suite, we will retest them all like login, backend and frontend, we will test them all. Second is Regression Test Selection, imagine that the change that has happened is from the admins end. So, we will run only admin related test cases. And Prioritization. Suppose there are high priority modules, we will run that particular test case. Right! Now, what are the challenges of Regression Testing? By constantly running the Regression Testing, the test suites get big. And when the test suite is small and accurate, we can cover more test cases. And the 2nd is that the Regression Test frequency should be determined. When will the Regression Test be done? Will it be done on every modification, on every build update it will be done, on a bunch of bugs fixing? That becomes a challenge. We learned about Regression Testing. We saw an example of a credit card and we saw where to use Regression Testing and Challenges of Regression Testing. Now we will see further about Usability Testing.
Share a personalized message with your friends.