{"title":"C/ c++项目中自动回归测试数据生成的有效方法","authors":"Hoang-Viet Tran, Pham Ngoc Hung","doi":"10.1109/NICS54270.2021.9701454","DOIUrl":null,"url":null,"abstract":"Regression test is a well-known method to ensure that both unchanged and evolved functions of the evolving software are in good quality. This is known to be an expensive task even with automated test data generation methods. For this reason, this paper proposes an effective method to maintain and reuse the test data generation results from previous versions for regression test of the evolved version. The key idea of the proposed method is that for unchanged units, we can reuse the whole previous test data. For evolved units, we reuse as many as possible the solutions of the unchanged test path constraints and generate new test data for only the new or updated test path constraints. The analysis shows that the proposed method has a high potential of applicability in regression test of C/C++ projects in practice. We give discussions about several evolving scenarios of a given unit and how the proposed method comes to effective in such scenarios.","PeriodicalId":296963,"journal":{"name":"2021 8th NAFOSTED Conference on Information and Computer Science (NICS)","volume":"104 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"An Efficient Method for Automated Regression Test Data Generation for C/C++ Projects\",\"authors\":\"Hoang-Viet Tran, Pham Ngoc Hung\",\"doi\":\"10.1109/NICS54270.2021.9701454\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Regression test is a well-known method to ensure that both unchanged and evolved functions of the evolving software are in good quality. This is known to be an expensive task even with automated test data generation methods. For this reason, this paper proposes an effective method to maintain and reuse the test data generation results from previous versions for regression test of the evolved version. The key idea of the proposed method is that for unchanged units, we can reuse the whole previous test data. For evolved units, we reuse as many as possible the solutions of the unchanged test path constraints and generate new test data for only the new or updated test path constraints. The analysis shows that the proposed method has a high potential of applicability in regression test of C/C++ projects in practice. We give discussions about several evolving scenarios of a given unit and how the proposed method comes to effective in such scenarios.\",\"PeriodicalId\":296963,\"journal\":{\"name\":\"2021 8th NAFOSTED Conference on Information and Computer Science (NICS)\",\"volume\":\"104 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 8th NAFOSTED Conference on Information and Computer Science (NICS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/NICS54270.2021.9701454\",\"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 8th NAFOSTED Conference on Information and Computer Science (NICS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NICS54270.2021.9701454","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An Efficient Method for Automated Regression Test Data Generation for C/C++ Projects
Regression test is a well-known method to ensure that both unchanged and evolved functions of the evolving software are in good quality. This is known to be an expensive task even with automated test data generation methods. For this reason, this paper proposes an effective method to maintain and reuse the test data generation results from previous versions for regression test of the evolved version. The key idea of the proposed method is that for unchanged units, we can reuse the whole previous test data. For evolved units, we reuse as many as possible the solutions of the unchanged test path constraints and generate new test data for only the new or updated test path constraints. The analysis shows that the proposed method has a high potential of applicability in regression test of C/C++ projects in practice. We give discussions about several evolving scenarios of a given unit and how the proposed method comes to effective in such scenarios.