Assigning Test Priority to Modules Using Code-Content and Bug History

IF 0.6 Q4 COMPUTER SCIENCE, INFORMATION SYSTEMS
Ermira Daka, Egzon Mustafa
{"title":"Assigning Test Priority to Modules Using Code-Content and Bug History","authors":"Ermira Daka, Egzon Mustafa","doi":"10.24138/jcomss-2021-0185","DOIUrl":null,"url":null,"abstract":"—Regression testing is a process that is repeated after every change in the program. Prioritization of test cases is an important process during regression test execution. Nowadays, there exist several techniques that decide which of the test cases will run first as per their priority levels, while increasing the probability of finding bugs earlier in the test life cycle. However, sometimes algorithms used to select important test cases may stop searching in local minima while missing the rest of the tests that might be important for a given change. To address this limitation further, we propose a domain-specific model that assigns testing priority to classes in applications based on developers’ judgments for priority. Moreover, our technique which takes into consideration applications’ code content and bug history, relates these features to overall class priority for testing. In the end, we test the proposed approach with a new (unknown) dataset of 20 instances. The predicted results are compared with developers’ priority score and saw that this metric can prioritize correctly 70% of classes under test.","PeriodicalId":38910,"journal":{"name":"Journal of Communications Software and Systems","volume":"1 1","pages":""},"PeriodicalIF":0.6000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Communications Software and Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24138/jcomss-2021-0185","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

—Regression testing is a process that is repeated after every change in the program. Prioritization of test cases is an important process during regression test execution. Nowadays, there exist several techniques that decide which of the test cases will run first as per their priority levels, while increasing the probability of finding bugs earlier in the test life cycle. However, sometimes algorithms used to select important test cases may stop searching in local minima while missing the rest of the tests that might be important for a given change. To address this limitation further, we propose a domain-specific model that assigns testing priority to classes in applications based on developers’ judgments for priority. Moreover, our technique which takes into consideration applications’ code content and bug history, relates these features to overall class priority for testing. In the end, we test the proposed approach with a new (unknown) dataset of 20 instances. The predicted results are compared with developers’ priority score and saw that this metric can prioritize correctly 70% of classes under test.
使用代码内容和Bug历史为模块分配测试优先级
回归测试是在程序中每次更改后重复的过程。测试用例的优先级排序是回归测试执行过程中的一个重要过程。现在,有几种技术可以根据它们的优先级级别来决定哪个测试用例将首先运行,同时增加了在测试生命周期早期发现错误的可能性。然而,有时用于选择重要测试用例的算法可能会在局部最小值中停止搜索,而遗漏了对于给定更改可能很重要的其余测试。为了进一步解决这个限制,我们提出了一个特定于领域的模型,该模型根据开发人员对优先级的判断为应用程序中的类分配测试优先级。此外,我们的技术考虑了应用程序的代码内容和bug历史,将这些特性与测试的整体类优先级联系起来。最后,我们用20个实例的新(未知)数据集测试了所提出的方法。将预测的结果与开发人员的优先级评分进行比较,发现该指标可以正确地确定70%的测试类的优先级。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Communications Software and Systems
Journal of Communications Software and Systems Engineering-Electrical and Electronic Engineering
CiteScore
2.00
自引率
14.30%
发文量
28
审稿时长
8 weeks
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信