Regression testing is carried out to ensure that changes carried out in an application do not impact the working of the earlier working parts of the application. As the software ages, the size of the test suite keeps increasing.
Regression testing needs to be carried out as many times as a new build is released, even if the changes made are small. In DevOps engagements, where continuous integration is carried out, carrying out manual regression will be time consuming as well as expensive; hence, regression tests are often automated.
It is important to carefully choose test cases that need to be used for regression tests to ensure that a test suite is optimal.
In this chapter, we will discuss the given topics:
Need for regression testing
Software regression process
Process for choosing test cases to be included for regression