DocumentCode
3191783
Title
Generation of test data based on genetic algorithms and program dependence analysis
Author
Jin, Rong ; Jiang, Shujuan ; Zhang, Hongchang
Author_Institution
Sch. of Compute Sci. & Technol., China Univ. of Min. & Technol., Xuzhou, China
fYear
2011
fDate
20-23 March 2011
Firstpage
116
Lastpage
121
Abstract
A novel approach to generating test data for branch testing is presented. First, we propose an approach to decrease the number of branches by branch selection based on CDG (Control-Dependence Graph) and priority assignment. Then, we present path selection algorithm to obtain the path constraints, which are relatively easier for test data generator based on GA (Genetic Algorithm). Finally, the technique transforms the path constraints into the appropriate fitness function, and then GA is used to generate multiple test cases. Comparing with existing approaches based on GA, the proposed approach can effectively improve the efficiency of program coverage and test data generation.
Keywords
genetic algorithms; program testing; branch selection; branch testing; control-dependence graph; fitness function; genetic algorithm; path constraints; path selection algorithm; priority assignment; program coverage; program dependence analysis; software testing; test data generation; Conferences; Generators; Genetic algorithms; Measurement; Software testing; Transforms; branch coverage; genetic algorithm; program dependence analysis; test data generation;
fLanguage
English
Publisher
ieee
Conference_Titel
Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), 2011 IEEE International Conference on
Conference_Location
Kunming
Print_ISBN
978-1-61284-910-2
Type
conf
DOI
10.1109/CYBER.2011.6011775
Filename
6011775
Link To Document