
























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































































Lecture No. 17
(^) Why application specific: (^) Imagine: (^) you are working on nuclear power plant (^) Medical equipment (^) Banking application (^) Attendance system (^) Your range of application is suggesting if regression testing be based on: (^) Retest all (^) Selective retesting based on a selection methods
(^) Extended finite state machine considering control and data dependence to construct a state dependence graph which is used to identify the effect of modification (Chen et al, 2006) (^) Model-based regression testing using data dependence analysis where Extended finite state machine is used for dependence analysis in object- oriented systems for reducing regression test suites (Korel et al., 2002)
(^) Analyze visual contracts to identify impact of change and select test cases into subsets and perform coverage analysis to see if the resulting test suite retains coverage (^) Analyze the information in terms of visual contracts where our focus is how the change affects the model. We also need to know which of the code artifacts were accessed during update. Our focus is different as we consider one web service and not compositions (Khan TA et al, 2012)
(^) Evaluate the change in model through visual contracts and do not consider control dependence (^) Analysis is based on visual contracts analysis and not on extended finite state machines and the application domain is web services (^) Consider visual contracts to represent pre- and post- conditions formalizing them as rules in a TAGTS for analysis and propose a regression testing approach for web services
(^) Test case prioritization helps us order previously run test cases. (^) According to our requirement. (^) Let our requirement considering unit test cases be: (^) We need to reorder test cases such that the one providing maximum coverage (^) With respect to nodes (^) be selected first (^) Considering a previous example from Module 35
Test cases for paths: 1,2,4,5, 6,8,9, 1,2,3,5, 6,7,6,8,9, Give complete node coverage Yet Edge 8 10 is not covered. We need following additional test case 1,2,3,5,6, 8, For Edge coverage
scanf (“%d, %d”, &x, &y); if (y < 0) pow = -y; else pow = y; z = 1.0; while (pow != 0) { z = z * x; pow = pow – 1; } if (y < 0) z = 1.0 / z ; printf(“%f”, z);
(^) Other test case prioritization techniques: (^) Sort test cases in order of increasing cost per additional coverage (^) Select the first test case (^) Repeat the above two steps until n test cases are selected (^) Decision regarding cost can be based on (^) Individual test case cost (^) Cumulative formula
(^) Now we consider case where we do minimal effort on finding out (^) Affected area of SUT (^) Test case prioritization or minimization (^) Record test case execution, somehow (^) Well!, why somehow (^) We cover in next few modules (^) And rerun them whenever required
(^) Test Case Execution Recording