Title :
Automated software test data generation
Author_Institution :
Dept. of Comput. Sci., Wayne State Univ., Detroit, MI, USA
fDate :
8/1/1990 12:00:00 AM
Abstract :
An alternative approach to test-data generation based on actual execution of the program under test, function-minimization methods and dynamic data-flow analysis is presented. Test data are developed for the program using actual values of input variables. When the program is executed, the program execution flow is monitored. If during program execution an undesirable execution flow is observed then function-minimization search algorithms are used to automatically locate the values of input variables for which the selected path is traversed. In addition, dynamic data-flow analysis is used to determine those input variables responsible for the undesirable program behavior, significantly increasing the speed of the search process. The approach to generating test data is then extended to programs with dynamic data structures and a search method based on dynamic data-flow analysis and backtracking is presented. In the approach described, values of array indexes and pointers are known at each step of program execution; this information is used to overcome difficulties of array and pointer handling
Keywords :
automatic programming; data structures; minimisation; program testing; search problems; array indexes; automated software test data generation; backtracking; dynamic data structures; dynamic data-flow analysis; function-minimization methods; function-minimization search algorithms; input variables; pointers; program behavior; program execution flow; Automatic control; Automatic testing; Costs; Data analysis; Data structures; Input variables; Minimization methods; Monitoring; Search methods; Software testing;
Journal_Title :
Software Engineering, IEEE Transactions on