Publication | Open Access
Software Testing using an Adaptive Genetic Algorithm
16
Citations
0
References
2021
Year
Software MaintenanceEngineeringGeneticsVerificationTest Data GenerationSoftware EngineeringGenomicsSoftware AnalysisStructural Software TestGenetic AlgorithmSearch-based Software EngineeringTest GenerationGenetic VariationComputer ScienceGenetic Improvement ProgrammingPopulation GeneticsSoftware DesignMutation-based TestingGenetic AlgorithmsProgram AnalysisSoftware TestingTest EvolutionMedicine
In the structural software test, test data generation is essential. The problem of generating test data is a search problem, and for solving the problem, search algorithms can be used. Genetic algorithm is one of the most widely used algorithms in this field. Adjusting genetic algorithm parameters helps to increase the effectiveness of this algorithm. In this paper, the Adaptive Genetic Algorithm (AGA) is used to maintain the diversity of the population to test data generation based on path coverage criterion, which calculates the rate of recombination and mutation with the similarity between chromosomes and the amount of chromosome fitness during and around each algorithm. Experiments have shown that this method is faster for generating test data than other versions of the genetic algorithm used by others.