自适应随机测试用例优先级的故障检测能力:大型测试套件的案例研究

Z. Zhou, A. Sinaga, W. Susilo
{"title":"自适应随机测试用例优先级的故障检测能力:大型测试套件的案例研究","authors":"Z. Zhou, A. Sinaga, W. Susilo","doi":"10.1109/HICSS.2012.454","DOIUrl":null,"url":null,"abstract":"An adaptive random (AR) testing strategy has recently been developed and examined by a growing body of research. More recently, this strategy has been applied to prioritizing regression test cases based on code coverage using the concepts of Jaccard Distance (JD) and Coverage Manhattan Distance (CMD). Code coverage, however, does not consider frequency, furthermore, comparison between JD and CMD has not yet been made. This research fills the gap by first investigating the fault-detection capabilities of using frequency information for AR test case prioritization, and then comparing JD and CMD. Experimental results show that \"coverage\" was more useful than \"frequency\" although the latter can sometimes complement the former, and that CMD was superior to JD. It is also found that, for certain faults, the conventional \"additional\" algorithm (widely accepted as one of the best algorithms for test case prioritization) could perform much worse than random testing on large test suites.","PeriodicalId":380801,"journal":{"name":"2012 45th Hawaii International Conference on System Sciences","volume":"153 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-01-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"34","resultStr":"{\"title\":\"On the Fault-Detection Capabilities of Adaptive Random Test Case Prioritization: Case Studies with Large Test Suites\",\"authors\":\"Z. Zhou, A. Sinaga, W. Susilo\",\"doi\":\"10.1109/HICSS.2012.454\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"An adaptive random (AR) testing strategy has recently been developed and examined by a growing body of research. More recently, this strategy has been applied to prioritizing regression test cases based on code coverage using the concepts of Jaccard Distance (JD) and Coverage Manhattan Distance (CMD). Code coverage, however, does not consider frequency, furthermore, comparison between JD and CMD has not yet been made. This research fills the gap by first investigating the fault-detection capabilities of using frequency information for AR test case prioritization, and then comparing JD and CMD. Experimental results show that \\\"coverage\\\" was more useful than \\\"frequency\\\" although the latter can sometimes complement the former, and that CMD was superior to JD. It is also found that, for certain faults, the conventional \\\"additional\\\" algorithm (widely accepted as one of the best algorithms for test case prioritization) could perform much worse than random testing on large test suites.\",\"PeriodicalId\":380801,\"journal\":{\"name\":\"2012 45th Hawaii International Conference on System Sciences\",\"volume\":\"153 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-01-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"34\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 45th Hawaii International Conference on System Sciences\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/HICSS.2012.454\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 45th Hawaii International Conference on System Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HICSS.2012.454","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 34

摘要

一种自适应随机(AR)测试策略最近被越来越多的研究机构开发和检验。最近,该策略被应用于基于代码覆盖率的回归测试用例的优先级,使用Jaccard距离(JD)和coverage Manhattan距离(CMD)的概念。然而,代码覆盖率没有考虑频率,此外,JD和CMD之间的比较还没有进行。本研究填补了这一空白,首先研究了使用频率信息进行AR测试用例优先级排序的故障检测能力,然后比较了JD和CMD。实验结果表明,“覆盖率”比“频率”更有用,尽管后者有时可以补充前者,并且CMD优于JD。它还发现,对于某些错误,传统的“附加”算法(被广泛接受为测试用例优先级的最佳算法之一)可能比在大型测试套件上的随机测试执行得更差。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
On the Fault-Detection Capabilities of Adaptive Random Test Case Prioritization: Case Studies with Large Test Suites
An adaptive random (AR) testing strategy has recently been developed and examined by a growing body of research. More recently, this strategy has been applied to prioritizing regression test cases based on code coverage using the concepts of Jaccard Distance (JD) and Coverage Manhattan Distance (CMD). Code coverage, however, does not consider frequency, furthermore, comparison between JD and CMD has not yet been made. This research fills the gap by first investigating the fault-detection capabilities of using frequency information for AR test case prioritization, and then comparing JD and CMD. Experimental results show that "coverage" was more useful than "frequency" although the latter can sometimes complement the former, and that CMD was superior to JD. It is also found that, for certain faults, the conventional "additional" algorithm (widely accepted as one of the best algorithms for test case prioritization) could perform much worse than random testing on large test suites.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信