Regression Testing : Definition, Types of Regression Testing, Examples, Regression Testing Tools, Re-testing vs Regression Testing

What is Regression Testing?

  • Re-execution of same test cases on different build or releases to ensure changes made has not introduced defect in unchanged features of application.
How do you identify test case is regression test case
  • When any test case is executed more than once then it is called regression test case.
Types of Regression testing :
  • Unit Regression Testing.
  • Regional Regression Testing.
  • Full Regression Testing.
What is Unit Regression Testing?
  • After we found the defect, we communicate that to the developers, once the developer has fixed that defect we will test only that defect and nothing else because the defect which is found and fixed is in independent area of the application.
  • Examples of Unit Regression Testing :
    • Spelling mistake in the help document of the application
    • Spelling mistake in the label name.
What is Regional Regression Testing?
  • In Regression Testing we test only the impacted region.
  • Whenever the modification's are done we identify the impacted region and then we test only those impacted region's and nothing else.
  • To identify impacted region we perform impact analysis.
  • In Impact analysis Tech Lead will interact with the developers, Testers, Business Analyst to find out from their point of view which all region are getting impacted.
  • Example of Regional Regression Testing :
    • Suppose, In gmail application changes are done in compose feature, so the following module will get impacted.
      • Inbox
      • Sent Items
      • Drafts
    • So if changes are done in compose feature of gmail application then testing of Inbox, Sent Items, Drafts features should also be done.
    • Features such as Chats, Settings will not be impacted so there is no need to test Chats and Settings feature.
What is Full Regression Testing?
  • If the changes done impact the entire application then the full regression testing comes in to play.
  • Full regression testing is done when a change done in application impacts the whole application.
  • Example of Full Regression Testing :
    • In a java application, If any changes is done in java compiler then it will impact the whole of java and hence full java program should be tested.
    • In a web application, if the changes are done in main file of the application then it will impact the entire website, so entire website should be tested.
Difference between Retesting and Regression Testing:

Re-Testing :
  • In retesting , we test only the defect fixes.
  • Verification of defect is the part of Re-Testing.
  • In Re-Testing, we execute only failed test cases.
  • It is not possible to automate test cases of Re-Testing.
Regression Testing :
  • Regression Testing is performed to check changes done in the application has not impacted the unchanged feature of the application.
  • The main purpose of regression testing is to verify new code changes done does not impacts existing functionalities.
  • Verification of defect is not part of Regression testing.
  • Regression Testing is done for passed Test Cases and Test Scenarios.
  • We can do automation of Regression Test Cases which will save time.
Regression Testing Tools :
  • Selenium : It is open source tool for web application automation. It is user for browser based regression testing.
  • QTP (Quick Test Professional) : It is automated software developed by HP. QTP uses VBscript language for automation. Quick Test Professional is not open source it paid.
  • IBM Rational Functional Tester : It is a java tool used to automate the test cases of software application. IBM Rational Functional tester is primarily used for automating regression test cases

Comments

Popular posts from this blog

Creating Effective Test Cases for Online Ticket Booking Systems

What is Derived Model?

Test Cases and Test scenarios: Definition, Examples, Template