DocumentCode :
2486033
Title :
Generating test data for branch coverage
Author :
Gupta, Neelam ; Mathur, Aditya P. ; Soffa, Mary Lou
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
fYear :
2000
fDate :
2000
Firstpage :
219
Lastpage :
227
Abstract :
Branch coverage is an important criteria used during the structural testing of programs. We present a new program execution based approach to generate input data that exercises a selected branch in a program. The test data generation is initiated with an arbitrarily chosen input from the input domain of the program. A new input is derived from the initial input in an attempt to force execution through any of the paths through the selected branch. The method dynamically switches among the paths that reach the branch by refining the input. Using a numerical iterative technique that attempts to generate an input to exercise the branch, it dynamically selects a path that offers less resistance. We have implemented the technique and present experimental results of its performance for some programs. Our results show that our method is feasible and practical
Keywords :
program testing; software performance evaluation; experimental results; numerical iterative technique; program branch coverage; program execution; software performance; structural program testing; test data generation; Computer science; Data analysis; Performance analysis; Software testing; Software tools; Switches;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering, 2000. Proceedings ASE 2000. The Fifteenth IEEE International Conference on
Conference_Location :
Grenoble
ISSN :
1938-4300
Print_ISBN :
0-7695-0710-7
Type :
conf
DOI :
10.1109/ASE.2000.873666
Filename :
873666
Link To Document :
بازگشت