{"title":"基于遗传算法的面向路径的测试数据生成","authors":"Mohammad Reza Hassanpour Charmchi, B. R. Cami","doi":"10.1109/IKT54664.2021.9685262","DOIUrl":null,"url":null,"abstract":"Software testing is one of the most important issues in quality assurance of software products. In traditional testing methods, due to the complexity and high cost, full testing is impossible. The search-based approaches are emerging as a solution for the automatic generation of test data in software testing. In this paper, we employ a genetic algorithm based on the execution path to generate the test data. In the proposed method, instead of checking the desirability of a generation for all execution paths, we assigned an appropriate fitness function per each execution path. Thus, the fitness function for each path, identifies an appropriate generation with great precision and less time. Evaluation results show that the proposed method is able to increase the accuracy of the algorithms as well as reduce the generation steps and the process time.","PeriodicalId":274571,"journal":{"name":"2021 12th International Conference on Information and Knowledge Technology (IKT)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Paths-oriented Test Data Generation using Genetic Algorithm\",\"authors\":\"Mohammad Reza Hassanpour Charmchi, B. R. Cami\",\"doi\":\"10.1109/IKT54664.2021.9685262\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Software testing is one of the most important issues in quality assurance of software products. In traditional testing methods, due to the complexity and high cost, full testing is impossible. The search-based approaches are emerging as a solution for the automatic generation of test data in software testing. In this paper, we employ a genetic algorithm based on the execution path to generate the test data. In the proposed method, instead of checking the desirability of a generation for all execution paths, we assigned an appropriate fitness function per each execution path. Thus, the fitness function for each path, identifies an appropriate generation with great precision and less time. Evaluation results show that the proposed method is able to increase the accuracy of the algorithms as well as reduce the generation steps and the process time.\",\"PeriodicalId\":274571,\"journal\":{\"name\":\"2021 12th International Conference on Information and Knowledge Technology (IKT)\",\"volume\":\"7 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 12th International Conference on Information and Knowledge Technology (IKT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IKT54664.2021.9685262\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 12th International Conference on Information and Knowledge Technology (IKT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IKT54664.2021.9685262","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Paths-oriented Test Data Generation using Genetic Algorithm
Software testing is one of the most important issues in quality assurance of software products. In traditional testing methods, due to the complexity and high cost, full testing is impossible. The search-based approaches are emerging as a solution for the automatic generation of test data in software testing. In this paper, we employ a genetic algorithm based on the execution path to generate the test data. In the proposed method, instead of checking the desirability of a generation for all execution paths, we assigned an appropriate fitness function per each execution path. Thus, the fitness function for each path, identifies an appropriate generation with great precision and less time. Evaluation results show that the proposed method is able to increase the accuracy of the algorithms as well as reduce the generation steps and the process time.