{"title":"Multi-Objective Heuristic Information Optimization Algorithm for Path Coverage-Oriented Test Data Generation","authors":"X. Feng, Rui Ding, Baojie Chai, T. Huo","doi":"10.1145/3495018.3495135","DOIUrl":null,"url":null,"abstract":"Software testing is an important means to guarantee the quality of software products. The path coverage-oriented test data generation problem can be transformed into an optimization problem that can be solved by intelligent algorithms. To improve the efficiency of path coverage-oriented test data generation, an optimized algorithm which uses solution-based heuristic information is designed in view of the characteristics of the problem. Since there is usually a correspondence based on a certain branch node(s) between the test data of adjacent paths, we can use the test data information of the branch path that has been solved–regard it as the heuristic information of the algorithm–to generate the corresponding test data of the branch path that is difficult to meet. Therefore, the efficiency of problem solving can be increased by using heuristic information provided by the obtained test data. Based on the easy-to-cover path information in the key point path representation method, this paper designs an improved framework for accessing heuristic information, and adopts a multi-objective selection strategy, therefore designs a multi-objective heuristic information optimization algorithm for path coverage-oriented test data generation. Simulation experiments show that the algorithm can generate test data faster.","PeriodicalId":6873,"journal":{"name":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture","volume":"54 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3495018.3495135","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
Software testing is an important means to guarantee the quality of software products. The path coverage-oriented test data generation problem can be transformed into an optimization problem that can be solved by intelligent algorithms. To improve the efficiency of path coverage-oriented test data generation, an optimized algorithm which uses solution-based heuristic information is designed in view of the characteristics of the problem. Since there is usually a correspondence based on a certain branch node(s) between the test data of adjacent paths, we can use the test data information of the branch path that has been solved–regard it as the heuristic information of the algorithm–to generate the corresponding test data of the branch path that is difficult to meet. Therefore, the efficiency of problem solving can be increased by using heuristic information provided by the obtained test data. Based on the easy-to-cover path information in the key point path representation method, this paper designs an improved framework for accessing heuristic information, and adopts a multi-objective selection strategy, therefore designs a multi-objective heuristic information optimization algorithm for path coverage-oriented test data generation. Simulation experiments show that the algorithm can generate test data faster.