|
计算机应用 2006
Investigation of automatic generation of class-object test data based on genetic algorithm
|
Abstract:
In the automatic generation of test data,there is no sound solution to generating class-object test data in the practical applications.To overcome this shortcoming,automatic generation of class-object test data on Genetic Algorithm(GA) was investigated.On the basis of Extended Hamming Distance(EHD),a modified method was proposed for fitness function of generating class-object test data by using GA,and the feasibility of reducing the execution time was proved in theory.At last the method was applied to real system.The testing results show that the method significantly improves the efficiency and accuracy of generating class-object test data.