Genetic algorithms are inspirvd by Darwin’s the survival o f the fittest theoly. This paper disctisses a genetic algorithm that can automatically generate test cases to test a selected path. This algorithm takes a selected path as a target and executes sequences of operators iteratively f o r test cases to evolve. The evolved test case can lead the program execution to achieve the target path. .4 j tness function namedSIMIMITY is dejned to determine which test cases should survive t f the jnal test case has not been found.
Download Full PDF Version (Non-Commercial Use)