Regression Testing

Primary tabs

Regression testing is any type of software testing which seeks to uncover regression bugs. Regression bugs occur whenever software functionality that previously worked as desired stops working or no longer works in the same way that was previously planned. Typically regression bugs occur as an unintended consequence of program changes.

Common methods of regression testing include re-running previously run tests and checking whether previously fixed faults have reemerged.

Experience has shown that as software is developed, this kind of reemergence of faults is quite common. Sometimes it occurs because a fix gets lost through poor revision control practices (or simple human error in revision control), but just as often a fix for a problem will be "fragile" - i.e. if some other change is made to the program, the fix no longer works. Finally, it has often been the case that when some feature is redesigned, the same mistakes will be made in the redesign that were made in the original implementation of the feature.

Therefore, in most software development situations it is considered good practice that when a bug is located and fixed, a test that exposes the bug is recorded and regularly retested after subsequent changes to the program. Although this may be done through manual testing procedures using programming techniques, it is often done using automated testing tools. Such a 'test suite' contains software tools that allows the testing environment to execute all the regression test cases automatically; some projects even set up automated systems to automatically re-run all regression tests at specified intervals and report any regressions. Common strategies are to run such a system after every successful compile (for small projects), every night, or once a week.

Regression testing is an integral part of the extreme programming software development methodology. In this methodology, design documents are replaced by extensive, repeatable, and automated testing of the entire software package at every stage in the software development cycle.


Regression testing can be used not only for testing the correctness of a program, but it is also often used to track the quality of its output. For instance in the design of a compiler, regression testing should track the code size, simulation time, and compilation time of the test suite.


  • "Also as a consequence of the introduction of new bugs, program maintenance requires far more system testing per statement written than any other programming. Theoretically, after each fix one must run the entire batch of test cases previously run against the system, to ensure that it has not been damaged in an obscure way. In practice, such regression testing must indeed approximate this theoretical idea, and it is very costly." -- Fred Brooks, The Mythical Man Month (p 122)



SivaPrasad's picture

Regression Testing:
once the bug is detected and fixed by developer then software should be retest to confirm that original defect is removed successfully.

There is a possibility of one error correction may introduce new errors.

Checking that bug fixes are working properly, and by fixing these bug other components are working properly as per the requirments or they got disturb.

khan4web's picture

Regression Testing is perfomed in follwoing cases.

1. To find the ripple against defect fix.
2. New changes in software, re execute test cases of exisiting functionality
3  Software enviroment is changed.

adnan khan

Sonal's picture


Can anybody share the answer to below question:- 

What are the steps that you would follow while doing Regression testing?




Successware's picture


Here are the steps which needs to follow while doing regression testing. 

1. First understand the defect and fix provided by devlopment team

2. Analyze fixed defect and its impacted area

3. Identify test case scenarios for fix as well as impacted area

4. Calculate testing efforts needed to test the defect

5. Perform testing activities & publish test results

6. If the defect is fixed then appropriately report the same; else any other defects are noticed then log into bug tracking tool.

Happy Testing.

avi123456's picture

Regression testing is any type of software testing that seeks to uncover software errors after changes to the program . Regression testing can be used to test the system efficiently by systematically selecting the appropriate minimum suite of tests needed to adequately cover the affected change.

Antigua resort