Issue No.08 - August (1990 vol.16)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.57624
<p>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.</p>
automated software test data generation; function-minimization methods; dynamic data-flow analysis; input variables; program execution flow; function-minimization search algorithms; input variables; program behavior; dynamic data structures; backtracking; array indexes; pointers; automatic programming; data structures; minimisation; program testing; search problems.
B. Korel, "Automated Software Test Data Generation", IEEE Transactions on Software Engineering, vol.16, no. 8, pp. 870-879, August 1990, doi:10.1109/32.57624