An Extensive Study on Multi-Priority Algorithm in Test Case Prioritization and Reduction

Longbo Li, Yanhui Zhou, Yuan Yuan, Shenghua Wu
{"title":"An Extensive Study on Multi-Priority Algorithm in Test Case Prioritization and Reduction","authors":"Longbo Li, Yanhui Zhou, Yuan Yuan, Shenghua Wu","doi":"10.1145/3456126.3456135","DOIUrl":null,"url":null,"abstract":"Although test case prioritization and reduction are two different problems in regression testing, they are essentially interrelated. To improve the effectiveness of regression testing, we need to perform fewer test cases, and hope to detect program faults as early as possible. However, most existing techniques haven't proposed a better solution to solve these two issues at the same time. In this paper, we present a multi-priority algorithm combine mutation testing and clustering techniques, and use clustering techniques to put test cases with similar fault-detection ability into a cluster, the multi-priority algorithm selects a high-priority test in each cluster. The results show that the multi-priority algorithm not only reduces a large number of test cases, but also obtains the results of test case prioritization better than greedy algorithm and random reduction method. Especially, the average reduction size of test cases is 40.23% in total 556018 test cases, and removing test cases that trigger real program faults only accounts for 0.7435% of all tests. Our method achieves a greater reduction in the number of test cases at the expense of a mini loss of in fault-detection ability. The effectiveness of test case prioritization is 2.63% higher than other methods. In addition, we find that the different number of clusters affect the effectiveness of test case prioritization and reduction in regression testing. 1","PeriodicalId":431685,"journal":{"name":"2021 2nd Asia Service Sciences and Software Engineering Conference","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd Asia Service Sciences and Software Engineering Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3456126.3456135","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Although test case prioritization and reduction are two different problems in regression testing, they are essentially interrelated. To improve the effectiveness of regression testing, we need to perform fewer test cases, and hope to detect program faults as early as possible. However, most existing techniques haven't proposed a better solution to solve these two issues at the same time. In this paper, we present a multi-priority algorithm combine mutation testing and clustering techniques, and use clustering techniques to put test cases with similar fault-detection ability into a cluster, the multi-priority algorithm selects a high-priority test in each cluster. The results show that the multi-priority algorithm not only reduces a large number of test cases, but also obtains the results of test case prioritization better than greedy algorithm and random reduction method. Especially, the average reduction size of test cases is 40.23% in total 556018 test cases, and removing test cases that trigger real program faults only accounts for 0.7435% of all tests. Our method achieves a greater reduction in the number of test cases at the expense of a mini loss of in fault-detection ability. The effectiveness of test case prioritization is 2.63% higher than other methods. In addition, we find that the different number of clusters affect the effectiveness of test case prioritization and reduction in regression testing. 1
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多优先级算法在测试用例排序与缩减中的广泛研究
虽然测试用例优先级和减少是回归测试中的两个不同的问题,但它们本质上是相互关联的。为了提高回归测试的有效性,我们需要执行更少的测试用例,并希望尽早发现程序错误。然而,大多数现有的技术并没有提出一个更好的解决方案来同时解决这两个问题。本文提出了一种结合突变检测和聚类技术的多优先级算法,利用聚类技术将具有相似故障检测能力的测试用例集中到一个聚类中,在每个聚类中选择一个高优先级的测试。结果表明,多优先级算法不仅减少了大量的测试用例,而且得到了比贪婪算法和随机约简方法更好的测试用例优先级排序结果。特别是,在总共556018个测试用例中,测试用例的平均缩减规模为40.23%,而删除触发真正程序错误的测试用例仅占所有测试的0.7435%。我们的方法以故障检测能力的微小损失为代价,实现了测试用例数量的更大减少。测试用例优先级排序的有效性比其他方法高2.63%。此外,我们发现不同数量的聚类会影响回归测试中测试用例优先级和减少的有效性。1
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Enhanced Neural Architecture Search Using Super Learner and Ensemble Approaches Dynamic Weight of Adaptive Information Density Network for Image Super-Resolution Optimization Design and Application of Hybrid Simulation Skill Training Platform Oracle-based process automation in DLT dominated ecosystems with an application to German waterway transportation Improving business operation efficiency by using Smart Contract
×
引用
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