{"title":"A Coupling-Based Approach for Class Integration and Test Order","authors":"Hao Liu, Jianxun Chen","doi":"10.1109/APSCC.2014.39","DOIUrl":null,"url":null,"abstract":"Software testing is one of the most important techniques used to assure the quality of software service. An intricate issue in software testing is the determination of test orders for the integration test of classes, known as the class integration and test order (CITO) problem. The determination of such order has an influence on the cost of created stubs for classes, which is an error-prone and costly process. To minimize the cost of stubbing, this paper describes a coupling measure technique to estimate the complexity of each test stub, and presents a graph-based heuristic algorithm of removing node with the highest weights to break cycles for minimizing overall complexity of stubbing. Also, an adjacency matrix and depth-first search for finding all the paths is presented. Simulation experimental results show that the overall test stub complexity decreased which greatly improves test efficiency and reduces the test cost to some extent compared with others.","PeriodicalId":393593,"journal":{"name":"2014 Asia-Pacific Services Computing Conference","volume":"36 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Asia-Pacific Services Computing Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/APSCC.2014.39","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Software testing is one of the most important techniques used to assure the quality of software service. An intricate issue in software testing is the determination of test orders for the integration test of classes, known as the class integration and test order (CITO) problem. The determination of such order has an influence on the cost of created stubs for classes, which is an error-prone and costly process. To minimize the cost of stubbing, this paper describes a coupling measure technique to estimate the complexity of each test stub, and presents a graph-based heuristic algorithm of removing node with the highest weights to break cycles for minimizing overall complexity of stubbing. Also, an adjacency matrix and depth-first search for finding all the paths is presented. Simulation experimental results show that the overall test stub complexity decreased which greatly improves test efficiency and reduces the test cost to some extent compared with others.