Evolutionary Generation of Test Data for Paths Coverage Based on Balance Optimization Theory[J]. Acta Electronica Sinica, 2020, 48(7): 1303-1310.
DOI:
Evolutionary Generation of Test Data for Paths Coverage Based on Balance Optimization Theory[J]. Acta Electronica Sinica, 2020, 48(7): 1303-1310. DOI: 10.3969/j.issn.0372-2112.2020.07.008.
Evolutionary Generation of Test Data for Paths Coverage Based on Balance Optimization Theory
In order to speed up the generation of test data that covers the target path
the paper makes good use of the balance of individual traversing program to adjust the evolutionary process of generating test data. First
after the individuals run the program
the number of individuals crossing the true and false branches of each branch node is counted. Then
the program balance is designed and calculated. Finally
the influence on the program balance of each individual is calculated. The individual with high influence has a bigger fitness value to have greater chance to participate in subsequent evolution. The proposed method effectively improves the efficiency of test data generation. The experiment results of benchmark programs and industrial cases show that our methods have superiority in running time and success rate of test data generation when compared with similar methods.