KS-TCP: An Efficient Test Case Prioritization Approach based on K-medoids and Similarity

Jinfu Chen, Yuechao Gu, Saihua Cai, Haibo Chen, Jingyi Chen
{"title":"KS-TCP: An Efficient Test Case Prioritization Approach based on K-medoids and Similarity","authors":"Jinfu Chen, Yuechao Gu, Saihua Cai, Haibo Chen, Jingyi Chen","doi":"10.1109/ISSREW53611.2021.00051","DOIUrl":null,"url":null,"abstract":"Test case prioritization (TCP) tries to find an optimal execution sequence by adjusting test cases that need to be executed. Traditional techniques rely on code coverage information to achieve effective results, but they need access to historical execution information. The string distance-based test case prioritization (SD-TCP) can avoid these limitations through only using the test cases themselves for sorting, but it is sensitive to extreme test cases and inefficient. To overcome these problems, we propose a test case prioritization method based on K-medoids and Similarity (KS-TCP). The proposed KS-TCP approach considers sorting a set of test cases rather than individual test case to effectively avoid the effect of extreme test cases, it uses cluster analysis and greedy strategy to divide the subsets and compose the final execution sequence by polling. Extensive experimental results show that the proposed KS-TCP approach has a higher APFD value compared to Random Prioritization (RP) and SD-TCP, and it also outperforms SD-TCP in terms of better time efficiency on test case prioritization.","PeriodicalId":385392,"journal":{"name":"2021 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISSREW53611.2021.00051","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Test case prioritization (TCP) tries to find an optimal execution sequence by adjusting test cases that need to be executed. Traditional techniques rely on code coverage information to achieve effective results, but they need access to historical execution information. The string distance-based test case prioritization (SD-TCP) can avoid these limitations through only using the test cases themselves for sorting, but it is sensitive to extreme test cases and inefficient. To overcome these problems, we propose a test case prioritization method based on K-medoids and Similarity (KS-TCP). The proposed KS-TCP approach considers sorting a set of test cases rather than individual test case to effectively avoid the effect of extreme test cases, it uses cluster analysis and greedy strategy to divide the subsets and compose the final execution sequence by polling. Extensive experimental results show that the proposed KS-TCP approach has a higher APFD value compared to Random Prioritization (RP) and SD-TCP, and it also outperforms SD-TCP in terms of better time efficiency on test case prioritization.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
KS-TCP:一种基于k -介质和相似性的高效测试用例优先排序方法
测试用例优先级(TCP)试图通过调整需要执行的测试用例来找到最佳的执行顺序。传统技术依赖于代码覆盖信息来获得有效的结果,但是它们需要访问历史执行信息。基于字符串距离的测试用例优先级(SD-TCP)可以通过仅使用测试用例本身进行排序来避免这些限制,但它对极端测试用例很敏感并且效率低下。为了克服这些问题,我们提出了一种基于k -介质和相似性的测试用例优先级方法(KS-TCP)。提出的KS-TCP方法考虑对一组测试用例进行排序,而不是对单个测试用例进行排序,以有效避免极端测试用例的影响,采用聚类分析和贪婪策略对子集进行划分,并通过轮询组成最终的执行序列。大量的实验结果表明,所提出的KS-TCP方法与随机优先化(RP)和SD-TCP相比具有更高的APFD值,并且在测试用例优先级的时间效率方面也优于SD-TCP。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
An efficient dual ensemble software defect prediction method with neural network Genetic Algorithm-based Testing of Industrial Elevators under Passenger Uncertainty Predicting gray fault based on context graph in container-based cloud Aging and Rejuvenation Models of Load Changing Attacks in Micro-Grids Sensitivity Analysis of Software Rejuvenation Model with Markov Regenerative Process
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1