This post was most recently updated on June 17th, 2019
What is regression testing?
Regression testing is type of testing that ensures that any change or bug fixes done is not adversely affected on existing functionalities and system is working properly as it is before deployment of new code.
Regression testing carried out every time after deployment of new code. It is verifying software is working correctly before and after any changes made in program. Software development is continues process for some software it includes change in existing feature, removal of existing functionality, bug fixes or upgradation of software or any other reason which might affect the other functionalities. Many times one code or program has impact on other code or functionality e.g. Debit or credit of any account has impact on bank balance field
Basically in regression testing you need to execute the test cases already executed and to compare the difference while executing it.
How to identify regression test cases?
- Identify the important functionality of each module
- Check the same test cases on different browser that the functionality working fine on recommended browsers
- Check if the functionalities differs as per roles applicable like Super admin, admin or normal user
- Identify the importance of UI testing for application and related test cases for different browsers like if banner image or logo of the company changed how it will look in different browser
- Identify the impact of bug fixes, new functionality added or removed on application at data base level
- Identify the critical business flow related test cases which might functionally not critical but businesswise
Benefits of regression testing
- Main functionalities of the application get tested every time changes done which will minimize the chances of system failure
- The test cases always been up to date due to regression
- The risk of testing application once after final deployment will get reduced
- Tester get aware about important functions and its impact in overall system
- It will save time and money by finding the bugs on time
- For large and critical software application like banks, hospitals, bigger companies will get tested properly through regression