June 13, 2019

Regression Test Plan Template

Introduction

Regression testing is performed after making a functional improvement or repair of software. Its purpose is to determine if the change has affected other aspects of the software. Regression tests give assurance to systems management, developers, testers and users that new system is not impacted any way by the change.

Segment of Regression Test Plan Template
Segment of Regression Test Plan Template

Necessity of Regression Testing plan

  • Regression testing helps detect errors in the development cycle, thereby avoiding the often hidden (but quite significant) costs of the numerous problems encountered and reported when a bug-laden application is moved into production. 
  • Lack of regression testing had serious negative impact on the integrity of the system.
  • Industry estimates indicate that approximately 30% of the bugs in an application are found during regression testing.
  • Requirement change and code change is modified according to the requirement.
  • New feature is added to the software.
  • Defect fixing.
  • Performance issue fix.

Features of Regression Test Plan Template

Retest All:

This is one of the methods for Regression Testing which is tiresome and tends to waste lots of time. This is very high budget as it requires huge time and resources. It involves testing of all the features of the product even where no modifications are made. This one is not the smart way to carry out regression testing.

Regression Test Selection:

  • Test cases selected can be classified as Reusable Test Cases and Obsolete Test Cases.
  • Re-usable Test cases can be used in consecutive regression cycles.
  • Obsolete Test Cases can't be used in consecutive cycles.
  • It is a better option to select prime part of the test suite to be run instead of re-executing the whole test suite.

Prioritization of Test Cases

Prioritization of test cases is an important aspect as it will greatly reduce the regression test suite. Prioritize the test cases depending on business needs, important & frequently used functionalities. preferring those test cases which have more priority.

Selecting test cases for regression testing

Productive Regression Testing can be done by selecting the following test cases -
  • Functionalities which has more visibility to the users.
  • All Integration Test Cases.
  • All Complex Test Cases.
  • Boundary value test cases.
  • A sample of Successful test cases.
  • A sample of Failure test cases.
  • Test cases which have frequent defects.
  • Test cases which verify core features of the product.
  • Test cases of Functionalities which has undergone more and recent changes

Prioritized Test Cases Sample
Prioritized Test Cases Sample
  • Identify Problematic Area

Types of Regression Testing

Corrective Regression Testing: 

Use of this testing is done when there are no changes added in the product’s specification. Moreover, the already existing test cases can be easily reused to conduct the desired regression test.

Progressive Regression Testing: 

This type of regression testing works productively when there are certain changes done in the program requirement as well as new test cases are designed. Carrying out this testing helps in confirming that there are no features that exist in the previous version that has been ignored in the new and updated version.

Unit Regression: 

Unit Regression is done during the unit testing phase that is just after the development and code is tested in isolation i.e. any dependencies or interactions on the unit to be tested are blocked at this time.

Partial Regression: 

Partial regression is done when new codes are added, to verify that the code works fine and system is performing as it supposed to perform even when the changes have been done in the code and that unit is integrated with the unchanged or already existing code.

Complete Regression: 

Complete Regression testing is done when a change in code is done on several modules or there are multiple changes and has a certain impact on the root cause of the system. It is done to detect unexpected issues. This testing ensures a final availability to the user.

Regression Test Plan Segment
Regression Test Plan Segment

Use of Regression Testing Tools/Automation Tools

If there are frequent changes in the software, the regression testing will cost you a high budget. As manual execution of these test cases will increase test execution time as well as cost. Automating these regression test cases will be a fulfilling choice in such cases.  

There are many tools which are available for Automation. Following are some important tools used for both functional and regression testing:

Selenium: 

This is an Automation tool or testing framework which is open source. It supports almost all languages like Java, C#, Python, Ruby, Pearl, Groovy etc. It supports many browsers like Chrome, Firefox, Safari as well as platforms like Mac, Windows, Linux and is used for automating web applications. Selenium can be considered helpful in browser-based regression testing.

HPE UFT( Unified Functional Testing)(Formerly QTP):  

It offers automation testing for both functional as well as regression testing for software applications. The language used by this tool is VB Script. It offers Unique Smart Object Recognition, automated documentation, error handling mechanism, Creation of data driven tables; checkpoints; parameters for objects.

Challenges in Regression Testing

Following are the major testing challenges while doing regression testing: 
  • Frequency of Regression Tests is determined and, i.e., after every modification/Change in requirement or every build update or after a bunch of defect fixes, is also a challenge.
  • With consecutive regression runs, test suites become large. Due to high time and high budget constraints, the entire regression test suite becomes impossible to be executed.
  • Minimizing the test suite  using prioritization and selective process while achieving maximum Test coverage remains a challenge.
  • Need to have Knowledge of existing application.

Guidelines to use the Regression Test Plan Template

  • Provide your project details like project name, date, version at the specified place.
  • Provide the Document details at its specified place.
  • Can add, edit or delete the contents according to your needs after downloading the Template and saving it in your system. It is also highlighted in blue italics format where the content can be added.
  • There are specific tables for every section, to make it easier for the user of the Template to fill in the details.
  • Fill in the tables according to its row and column headings.


No comments:

Post a Comment