Consider a project where the development team needs to frequently modify code to enhance performance. How would regression testing ensure that these modifications do not introduce new defects into the system?

  • Regression testing cannot ensure this
  • By running performance tests only
  • By focusing on unit tests
  • By retesting the entire system
Regression testing ensures that modifications to enhance performance do not introduce new defects by retesting the entire system. This validates that code changes do not negatively impact existing functionalities. Performance tests (option 2) and unit tests (option 3) are important but focus on specific aspects and may not cover all potential issues.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *