Regression Testing and Encapsulation
Regression Testing and Encapsulation
&
ENCAPSULATION
SUBMITED BY:
S. PORSELVI
P.NAVESHAPRITHINKRA
R.PRIYANGA
WHAT IS REGRESSION TESTING?
Checking the product after changes.
TO ENSURE:
Why?
1. Defects fixes may cause existing functionality
2. New features may cause defect in one other features.
STEPS
Step1: Perform initial 'Smoke’ or ‘Sanity’ test.
Step2: Understand criteria for selecting test cause.
Step3: Classify test case based priority.
Step4: A methodology for selecting test cases.
Step5: Reselting Test case for test execution.
Step6: conclude the result.
PRIORITIZATION OF TEST CASES
Prioritize the test cases depending and business
impact, critical & frequently used functionalities. Selection of test
cases based on priority will greatly reduce the regression test suite.
Encapsulation is the technique of making the fields in a class private and providing access to the fields via public methods.
encapsulation also can be described as a protective barrier that prevents the code and data being randomly accessed by
other code defined outside the class.
Wrapping up of data and methods into a single unit.
IMPORTANCE OF ENCAPSULATION:
The main benefit of encapsulation is the ability to modify our implantation code without
breaking the code of others who use our code.
With this feature encapsulation gives maintainability, flexibility and extensibility to the
code.
thank you