Differences between Retesting and Regression Testing

Tram Ho

Many of you still wonder whether the difference between Retesting and Regression Testing, Retesting and Regression Testing is a frequently asked question for the tester / QA. Today I will point out some differences to make it easier for people to imagine.

1. Concepts

  • What is retesting? Retesting: A type of test performed to test Failed cases in the last execution into Passed cases after errors have been fixed.
  • What is retesting? Regression test: is a type of software testing that is performed to check if a code change disturbs existing features and functionality of an Application.

2. Regression test

  • Regression testing is performed to ensure that changes in one part of the software do not affect other parts of the application.
  • The regression is to repeat the test case for the unchanged part to find that the function has not changed and is working well.
  • The cycle is as follows: Design New Test => Execute test => Re test => Regresstion test
  • When an error is reported, the Dev team will correct the error. It is likely that the dev will change the code and may lead to effects that may not be immediately visible. Therefore, whenever a code is changed, the QA team must ensure that there is no effect of the change on other parts of the system.
  • This type of verification method is followed in the field to check for corrected errors.

3. Check back

  • A retest is performed to ensure that the error is corrected by running the same test case repeatedly. It is run on the same code where the change was made.
  • Also, it does not involve checking other parts of the software. Moreover, Re-checking means only checking a certain part of the application. Check back does not consider how it will affect in another section or in the whole application.
  • Retesting is only conducted for cases where the Test failed. When there is less time Re-testing is preferred over regression testing.

4. Detailed comparison between Retesting and Regression Testing

Regression TestingRe-testing
– Regression Testing is performed to confirm whether a recent program or code change has adversely affected existing features.– Re-testing is done to confirm Failed test cases, then the last execution is Passed after the errors are fixed.
– The purpose of Regression Check is that changing the latest code will not affect existing functions– Re-checking was performed on the basis of the fixed Defect
– Verify errors are not part of Regression Check– Verify the error is part of the re-check
– Based on the project and the availability of resources, Regression testing can be conducted in parallel with Retest– Pre-test is higher than regression test, so it is done before regression test
– You can do automation to check regression, Manual testing can be costly and time consuming– You cannot automate test cases to re-test
– Regression test is called general test– Retesting is a planned test
– Regression testing is performed for past test cases– Retesting is only carried out for test cases that fail
– Regression test checks for unwanted effects– Double check to ensure that the original error has been successfully fixed
– Regression testing is only performed when any amendments or changes are required in an existing project– Check again to make an error with the same data and the same environment with different inputs with a new scenario
– Test cases for regression testing can be obtained from functional specifications, instructions for use and instructions for use, and reporting errors related to corrected issues.– Test cases for re-testing cannot be obtained before starting the test.
  • In the regression test cases extracted from functional test cases to ensure that no new errors are included & check if the original features and functions are working as expected or not no, and make sure no new errors are made.
  • Once the regression test suite is created, you can automate test cases using an automated but similar tool that does not apply to Retest.

5. Conclusion

The error is recorded by the tester during application testing and is fixed by the dev in the project.

  • In Retest, the tester will check for the same error whether corrected or not using the copying steps mentioned in the error.
  • During the regression test, the tester checks for similarly fixed errors that are not affected by other unchanged parts of the application, without disrupting previous operations and being corrupted by error correction.

6. References

https://www.guru99.com/re-testing-vs-regression-testing.html https://www.testingdocs.com/regression-testing-vs-re-testing/

Share the news now

Source : Viblo