Regression testing

Regression testing is a type of testing that focuses on retesting after changes are made. The purpose of regression testing is to confirm that a  recent program or code change has not adversely affected existing features.
Regression testing is nothing but full or partial selection of already executed test cases which are re-executed to ensure existing functionalities work fine.
This testing is done to make sure that new code changes should not have side effects on the existing functionalities. It ensures that old code still works once  the new code changes are done.
Regression Testing is required when there is a
·         Change in requirements and code is modified according to the requirement
·         New feature is added to the software
·         Defect fixing
·         Performance issue fix 
Regression Test Selection
·         Instead of re-executing the entire test suite, it is better to select part of test suite to be run
·         Test cases selected can be categorized as 
1) Reusable Test Cases 
2) Obsolete Test Cases.
·         Re-usable Test cases can be used in succeeding regression cycles.
·         Obsolete Test Cases can't be used in succeeding cycles.
Regression testing attempts to mitigate two risks:

·         A change that was intended to fix a bug failed.
·         Some change had a side effect, unfixing an old bug or introducing a new bug.
In addition, proponents of traditional regression testing argue that retesting is a measurement or control process, a means of assuring that the program is as stable as it was previously.
Regression testing approaches differ in their focus. Common examples include:
·         Bug regression: We retest a specific bug that has been allegedly fixed.
·         Old fix regression testing: We retest several old bugs that were fixed, to see if they are back. (This is the classical notion of regression: the program has regressed to a bad state.)
·         General functional regression: We retest the product broadly, including areas that worked before, to see whether more recent changes have destabilized working code. (This is the typical scope of automated regression testing.)
·         Conversion or port testing: The program is ported to a new platform and a subset of the regression test suite is run to determine whether the port was successful. (Here, the main changes of interest might be in the new platform, rather than the modified old code.)
·         Configuration testing: The program is run with a new device or on a new version of the operating system or in conjunction with a new application. This is like port testing except that the underlying code hasn't been changed--only the external components that the software under test must interact with.
·         Localization testing: The program is modified to present its user interface in a different language and/or following a different set of cultural rules. Localization testing may involve several old tests (some of which have been modified to take into account the new language) along with several new (non-regression) tests.
·         Smoke testing also known as build verification testing: A relatively small suite of tests is used to qualify a new build. Normally, the tester is asking whether any components are so obviously or badly broken that the build is not worth testing or some components are broken in obvious ways that suggest a corrupt build or some critical fixes that are the primary intent of the new build didn't work. The typical result of a failed smoke test is rejection of the build (testing of the build stops) not just a new set of bug reports.
Any test can be reused, and so any test can become a regression test. Regression testing naturally combines with all other test techniques. The essence of regression testing is exposure of problems that shouldn't be there, either because they were exterminated before or they weren't in the product the last time(s) it was tested.



Comments

  1. Hello,The informative Article on Regression testing is very good. It give detail information about it .Thanks for Sharing the information on Software testing . Software Testing Services

    ReplyDelete
  2. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog.

    Pen testing services
    Vulnerability assessment services
    Load Testing Services
    Mobile app testing services

    ReplyDelete

Post a Comment