QAWorld is the place to turn for the latest QA news and in-depth coverage of the issues, trends, and products.
About Us    Contact    Sponsor Us    Partners

Simple guidelines for building test cases for Regression Testing

Regression testing compares two builds or versions of the same target-of-test and identifies differences as potential defects. It thus assumes that a new version should behave like an earlier one and ensures that defects have not been introduced as a result of the changes.

Ideally, you would like all the test cases in one iteration to be used as test cases in the later iterations.  The following guidelines should be used to identify, design, and implement test cases that maximize the value of regression testing and re-use, while minimizing maintenance:

  • Ensure the test case identify only the critical data elements (those needed to create / support the condition being tested)
  • Ensure each test case describes or represents a unique set of inputs or sequence of events that results in a unique behavior by the target-of-test
  • Eliminate redundant or equivalent test cases
  • Group together test cases which have the same target-of-test initial state and state of the test data

Related Articles

Category: How-To, Test and Evaluation

Tagged: ,


Leave a Reply

Recent Comments