An Evolutionary Generation Method Of Test Data For Multiple Paths Based On Coverage Balance

IEEE ACCESS(2021)

引用 2|浏览1
暂无评分
摘要
Test data generation is one of the main tasks of software testing. The goal of test data generation based on search algorithms is to automate the task and find test data that meet test criteria. In this study, an evolutionary generation method for test data that cover multiple paths is proposed. Firstly, the method obtains the coverage balance for each target path based on the number of individuals traversing the true and false branches of branch nodes, and calculates the individual's influence on coverage balance before and after an individual joining based on our previous work. Then, according to the number of branch nodes on each target path, the weights of different target paths are designed to obtain the individual fitness to adjust the evolution process and quickly generate test data covering multiple target paths. Finally, the proposed method is compared with existing techniques. Experimental results of benchmark programs and industrial use cases show that the proposed method can effectively improve the efficiency of test data generation for multiple paths.
更多
查看译文
关键词
Genetic algorithms, Testing, Software, Optimization, Software testing, Software algorithms, Sociology, Keywords software testing, test data generation, multi-path coverage, genetic algorithm, coverage balance
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要