Saturday, February 5, 2011

Difference between regression testing and retesting

Regression testing means that no error/bug should be introduced in your software because of the newly added feature/modules. It is done for the entire software/product.

Retesting means testing the same area once again on which the code change is done.

Now, let me explain the scenario with the help of an example. The example described is only for the learning perspective.
Suppossing you are testing a calculator software which has only Addition facility and the user input can  be only numbers. While providing the input as 10.6 & 10, it is giving a result as 21 instead of 20.6.
If the developer fixes this issue, then you will test this part again which is called as retesting.

Now, if a new module/feature is introduced in the same calculator s/w i.e. of "Subtraction". Then we will run all the use/test cases once again which we have executed for addition. This is done to make sure that no errors/bugs are introduced because of the new feature.

In this case, if some errors comes/occurs in addition module, which was working fine when only addition was there, then we mark the corresponding bugs as regression bugs.

Hope this helps

No comments:

Post a Comment