regression testing

12
Regression Testing HARSH VERMA JIMS VK

Upload: harsh-verma

Post on 15-Apr-2017

77 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Regression testing

Regression Testing

HARSH VERMA JIMS VK

Page 2: Regression testing

Meaning.

Regression means errors that occurs due to some action or activities in a system . In IT

regression means return of a bug.

Regression testing is a type of software testing that is done to find the regressions in the system after doing any changes in the software.

Page 3: Regression testing

Regression errors occurs!!!!!

Page 4: Regression testing

When to do it

Regression testing is required when there is a:-

Change in requirement and code is modified according to the requirement.

New feature is added.

Performance issue fix.

Detect fixing.

Page 5: Regression testing

Techniques of Regression Testing

Hybrid

Retest all

Test case priorit izat i

on

Regression test select ion

Page 6: Regression testing

Techniques

Retest all :- under this technique checks all the test cases on the current program to check its integrity. Though it is expensive as it needs to re-run all the cases, it ensures that there are no errors because of the modified code.

Regression test selection :- under this technique runs a part of the test suite (owing to the cost of retest all) if cost of selecting the part of test suite is less than retest all technique

Page 7: Regression testing

Techniques

Test case prioritization :-Prioritize the test cases so as to increase a test suite's rate of fault detection. Test case prioritization techniques schedule test cases so that the test cases that are higher in priority are executed before the test cases that have a lesser priority. Types of test case prioritizationGeneral prioritization - Prioritize test cases that will be beneficial on subsequent versionsVersion-specific prioritization - Prioritize test cases with respect to a particular version of the software.

Hybrid :-Under this technique is a Hybrid Approach of both Regression Test Selection and Test Case Prioritization. Algorithms for the approach that have been proposed are test selection algorithm and hybrid technique proposed

Page 8: Regression testing
Page 9: Regression testing

Pros And Cons

Challenges for regression testing :-

With successive regression runs, test suites become fairly large. Due to time and budget limits, the entire regression test suite cannot be executed.

Minimizing test suite while achieving maximum test coverage remain a challenge.

Determination of frequency of regression tests.

Page 10: Regression testing

To ensure effective regression test, observe the following:-

Code being regression tested should be under a configuration management tools.

The database used for regression testing must be isolated. No database changes must be allowed.

No changes must be allowed to code, during the regression test phase, regression test code must be kept immune to developer changes

Page 11: Regression testing

Tools used for regression testing

Relational Functional Tester(RFT)

seleniumQuick Test

Professional (QTP)

Page 12: Regression testing