How should one choose test cases for regression?
Choosing test cases for regression packs is not a trivial exercise. There are three types of test suites executed during each release of a software application: regression tests, release specific tests, and defect fix verification tests. Careful thought and attention must accompany the selection of test sets for the regression pack.
The following are some of the guidelines to accomplish this selection exercise:
- Include the test cases that have frequently yielded bugs: Some areas in the application are so error-prone that they usually fail following a small coding change. We can keep track of these failing test cases throughout the product cycle and cover them in the regression test suite.
- Include the test cases that verify the core features of the application: Prior to designing the test cases, identify all the core features of the application. Ensure that test cases cover all the functionalities mentioned in the requirements document. One can...