A Coupling-Based Approach for Class Integration and Test Order

Hao Liu, Jianxun Chen
{"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.
基于耦合的类集成与测试顺序求解方法
软件测试是保证软件服务质量的最重要的技术之一。软件测试中的一个复杂问题是确定类集成测试的测试顺序,称为类集成和测试顺序(CITO)问题。确定这样的顺序会影响为类创建存根的成本,这是一个容易出错且代价高昂的过程。为了最小化存根的成本,本文描述了一种耦合度量技术来估计每个测试存根的复杂性,并提出了一种基于图的启发式算法,该算法通过移除权值最高的节点来打破循环,以最小化存根的总体复杂性。此外,还提出了一个邻接矩阵和深度优先搜索来查找所有路径。仿真实验结果表明,该方法降低了测试存根的总体复杂度,大大提高了测试效率,在一定程度上降低了测试成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信