KEMBAR78
Regression testing | PPTX
By Mohua Amin
Today's Topics
 What is regression testing?
 When to do it?
 What’s the strategy?
 Pros and cons
 Conclusion
What is this term “Regression”
 Regression means errors that occurs due to some
action or activities in a system.
 In IT world a "regression" means the return of a bug.
 Regression testing means the testing process that is
done to find the regressions in the system after doing
any changes in the product.
When to do it
Regression Testing is required when there is a -
 Change in requirements and code is modified
according to the requirement
 New feature is added to the software
 Defect fixing
 Performance issue fix
What’s the strategy?
 Software maintenance is an
activity which includes
enhancements, error
corrections, optimization and
deletion of existing features.
These modifications may cause
the system to work incorrectly.
Therefore , Regression Testing
becomes necessary. Regression
Testing can be carried out using
following techniques:
What’s the strategy?
Continues..
 Reset all - This is one of the methods for regression
testing in which all the tests in the existing test bucket
or suite should be re-executed. This is very expensive
as it requires huge time and resources.
What’s the strategy?
Continues..
 Regression Test Selection
 Instead of re-executing the entire test suite, it is
better to select part of test suite to be run.
 Test cases selected can be categorized as 1) Reusable
Test Cases 2) Obsolete Test Cases.
 Re-usable Test cases can be used in succeeding
regression cycles. Obsolete Test Cases can’t be used
in succeeding cycles.
What’s the strategy?
Continues..
 Prioritization of Test Cases
 Prioritize the test cases depending on
business impact, critical & frequently used
functionalities . Selection of test cases based
on priority will greatly reduce the regression
test suite.
What’s the strategy?
Continues..
 Area to focus during testing
 Test cases which have frequent defects.
 Functionalities which are more visible to the users.
 Test cases which verify core features of the product.
 Test cases of Functionalities which has undergone more and
recent changes.
 All Integration Test Cases.
 All Complex Test Cases.
 Boundary value test cases.
 Sample of Successful test cases.
 Sample of Failure test cases
Pros and Cons
 Challenges for regression testing
With successive regression runs, test suites become
fairly large. Due to time and budget constraints, the
entire regression test suite cannot be executed.
Minimizing test suite while achieving maximum
test coverage remains a challenge.
Determination of frequency of Regression Tests
, i.e., after every modification or every build update
or after a bunch of bug fixes, is a challenge.
Pros and Cons
 To ensure effective regression tests , observe the
following :
 Code being regression tested should be under a
configuration management tool.
 No changes must be allowed to code , during the
regression test phase. Regression test code must be
kept immune to developer changes.
 The database used for regression testing must be
isolated . No database changes must be allowed
Conclusion
 An effective regression strategy, save organizations
both time and money. But in current time it more
refers to the termAutomate, Automate, Automate
 Following are most important tools used for both
functional and regression testing:
 Quick Test Professional (QTP)
 Rational Functional Tester (RFT)
 Selenium
References
 http://en.wikipedia.org/wiki/Regression_testing
 http://www.guru99.com/regression-testing.html
 http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=613
2961&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2F
abs_all.jsp%3Farnumber%3D6132961
 http://www.scribd.com/doc/6095386/Effective-
Regression-Testing-Strategy
 http://blogs.msdn.com/b/imtesty/archive/2007/01/10/regr
ession-testing-strategies.aspx
 http://thinktesting.wordpress.com/2010/11/23/regression-
testing-strategic-and-risk-driven-can-you-afford-not-to/
Thanks
and
have a great day

Regression testing

  • 1.
  • 2.
    Today's Topics  Whatis regression testing?  When to do it?  What’s the strategy?  Pros and cons  Conclusion
  • 3.
    What is thisterm “Regression”  Regression means errors that occurs due to some action or activities in a system.  In IT world a "regression" means the return of a bug.  Regression testing means the testing process that is done to find the regressions in the system after doing any changes in the product.
  • 5.
    When to doit Regression Testing is required when there is a -  Change in requirements and code is modified according to the requirement  New feature is added to the software  Defect fixing  Performance issue fix
  • 6.
    What’s the strategy? Software maintenance is an activity which includes enhancements, error corrections, optimization and deletion of existing features. These modifications may cause the system to work incorrectly. Therefore , Regression Testing becomes necessary. Regression Testing can be carried out using following techniques:
  • 7.
    What’s the strategy? Continues.. Reset all - This is one of the methods for regression testing in which all the tests in the existing test bucket or suite should be re-executed. This is very expensive as it requires huge time and resources.
  • 8.
    What’s the strategy? Continues.. Regression Test Selection  Instead of re-executing the entire test suite, it is better to select part of test suite to be run.  Test cases selected can be categorized as 1) Reusable Test Cases 2) Obsolete Test Cases.  Re-usable Test cases can be used in succeeding regression cycles. Obsolete Test Cases can’t be used in succeeding cycles.
  • 9.
    What’s the strategy? Continues.. Prioritization of Test Cases  Prioritize the test cases depending on business impact, critical & frequently used functionalities . Selection of test cases based on priority will greatly reduce the regression test suite.
  • 10.
    What’s the strategy? Continues.. Area to focus during testing  Test cases which have frequent defects.  Functionalities which are more visible to the users.  Test cases which verify core features of the product.  Test cases of Functionalities which has undergone more and recent changes.  All Integration Test Cases.  All Complex Test Cases.  Boundary value test cases.  Sample of Successful test cases.  Sample of Failure test cases
  • 11.
    Pros and Cons Challenges for regression testing With successive regression runs, test suites become fairly large. Due to time and budget constraints, the entire regression test suite cannot be executed. Minimizing test suite while achieving maximum test coverage remains a challenge. Determination of frequency of Regression Tests , i.e., after every modification or every build update or after a bunch of bug fixes, is a challenge.
  • 12.
    Pros and Cons To ensure effective regression tests , observe the following :  Code being regression tested should be under a configuration management tool.  No changes must be allowed to code , during the regression test phase. Regression test code must be kept immune to developer changes.  The database used for regression testing must be isolated . No database changes must be allowed
  • 13.
    Conclusion  An effectiveregression strategy, save organizations both time and money. But in current time it more refers to the termAutomate, Automate, Automate  Following are most important tools used for both functional and regression testing:  Quick Test Professional (QTP)  Rational Functional Tester (RFT)  Selenium
  • 14.
    References  http://en.wikipedia.org/wiki/Regression_testing  http://www.guru99.com/regression-testing.html http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=613 2961&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2F abs_all.jsp%3Farnumber%3D6132961  http://www.scribd.com/doc/6095386/Effective- Regression-Testing-Strategy  http://blogs.msdn.com/b/imtesty/archive/2007/01/10/regr ession-testing-strategies.aspx  http://thinktesting.wordpress.com/2010/11/23/regression- testing-strategic-and-risk-driven-can-you-afford-not-to/
  • 15.