Automatic Test Data Generation for Multiple Paths and Its Applications

曹洋,胡春华,陈少波,李路明
DOI: https://doi.org/10.3778/j.issn.1002-8331.2010.27.008
2010-01-01
Abstract:The study researches automatic test data generation for structure testing.A structure of overlapped path is proposed to describe paths of a program,and a fitness function for multiple paths test data generation is constructed with it based on genetic algorithm(GA).The function can drive GA to search the test data for all the target paths within one run.The search decreases the initial repetitive iterations with random individuals and speeds up the convergence,because target paths share the data generated by GA.Applied to the benchmark program and some realistic programs,the function reduces the time consumption in search by 70.6% compared with the typical predicate distance algorithm on average.
What problem does this paper attempt to address?