Priority based data flow testing

Software testing is an expensive component of software development and maintenance. For data flow testing, test cases must be found to test the def-use pairs in a program. Since some of the def-use pairs identified through static analysis may be infeasible, no amount of testing effort may result in exhaustive testing of a program. Therefore in practice a fixed amount of effort is spent in testing a program. We develop an approach for assigning priorities to def-use pairs, such that the def-use pairs with higher priorities can be expected to require less effort for test case generation and therefore testing. Thus, by using the priorities as a guide for ordering the def-use pairs for testing, we can maximize the number of def-use pairs tested using a fixed amount of testing effort. We apply the technique to regression testing during the software maintenance phase, in which case the priorities are assigned to capture not only the difficulty in test case generation but also the likelihood that an error introduced by a program change is uncovered by the test case.

[1]  Rajiv Gupta,et al.  The combining DAG: a technique for parallel data flow analysis , 1992, Proceedings Sixth International Parallel Processing Symposium.

[2]  Rajiv Gupta,et al.  An approach to regression testing using slicing , 1992, Proceedings Conference on Software Maintenance 1992.

[3]  David S. Alberts,et al.  The economics of software quality assurance , 1976, AFIPS '76.

[4]  Ken Kennedy,et al.  Node listings applied to data flow analysis , 1975, POPL '75.

[5]  Glenford J. Myers,et al.  Art of Software Testing , 1979 .

[6]  Rajiv Gupta Generalized dominators and post-dominators , 1992, POPL '92.

[7]  Rajiv Gupta,et al.  The Combining DAG: A Technique for Parallel Data Flow Analysis , 1994, IEEE Trans. Parallel Distributed Syst..

[8]  Elaine J. Weyuker,et al.  Selecting Software Test Data Using Data Flow Information , 1985, IEEE Transactions on Software Engineering.

[9]  Hiralal Agrawal,et al.  Dominators, super blocks, and program coverage , 1994, POPL '94.

[10]  Rajiv Gupta,et al.  Employing static information in the generation of test cases , 1993, Softw. Test. Verification Reliab..

[11]  Mary Lou Soffa,et al.  An incremental approach to unit testing during maintenance , 1988, Proceedings. Conference on Software Maintenance, 1988..