Retesting is a software testing technique that involves executing test cases again for a software application or system after defects have been fixed or changes have been made to ensure that the defects have been resolved and the changes made have not introduced new defects.
The purpose of retesting is to verify that the previous defects have been fixed and that the application or system is working as expected. It is an important part of the software testing process as it helps to ensure that the application or system is functioning correctly and meets the specified requirements.
Retesting can be performed manually or through automation depending on the complexity and scope of the testing. It is typically carried out during the regression testing phase of the software testing life cycle.
Here’s an example of retesting:
Suppose you are testing an e-commerce website where users can place orders for various products. During initial testing, you find a defect where the shipping address is not saved correctly. You report the defect, and the development team fixes it by making changes to the code.
After the defect is fixed, the next step is to perform retesting. You would execute the same test case that initially revealed the defect to ensure that the issue has been resolved. You would verify that the shipping address is now saved correctly and that the user can proceed with placing the order without any issues.
If the test passes, then the defect is considered fixed, and the issue is closed. However, if the test fails again, then you would report the issue, and the development team would need to investigate further to determine what went wrong and how to fix it.
Retesting software is crucial to ensure that the application or system is working as expected after changes have been made or defects have been fixed. Here are some key reasons why retesting is important:
Overall, retesting is an essential part of the software testing process that helps to ensure that the application or system is functioning correctly and meets the specified requirements.
Retesting is an essential part of the software testing process, but like any testing technique, it has its advantages and disadvantages. Here are some pros and cons of retesting:
In summary, while retesting is an essential technique for software testing, it is important to consider its pros and cons to determine the appropriate testing approach for a specific software application or system.