Posts

Showing posts from September, 2024

Should we add Negative Test Cases to Regression Testing?

Image
  Adding negative test cases to regression testing depends upon the project scope and requirements. However, following are a few key factors that help in identifying the test cases for your regression test suite: 1. Altered pieces of code are frequently covered: Frequent changes are undertaken in many parts of the software. These parts are more prone to defects and hence should be included in the regression suite. Those test cases should be included for functionalities that have been changed recently.     2. Business-critical functionalities are covered: The core aspects of the software can be identified based on the business requirements document. All the test cases should be included in the regression test that covers these core functions. A traceability matrix can also be used so that all the high-priority cases can be rounded up.     3. Bugs are yielded frequently: Those test cases should be identified that fail more frequently over the production cycle. These test