Empirical Analysis of Greedy, GE and GRE Heuristics

Amit Goyal, R. Shyamasundar, G. Sivakumar, R. Jetley, S. Ramaswamy
{"title":"Empirical Analysis of Greedy, GE and GRE Heuristics","authors":"Amit Goyal, R. Shyamasundar, G. Sivakumar, R. Jetley, S. Ramaswamy","doi":"10.1145/3452383.3452389","DOIUrl":null,"url":null,"abstract":"Whenever a software evolves, regression testing needs to be performed which ensures evolution does not affect the existing software. Test suite minimization is one of the regression testing techniques which takes a test suite and provides a minimized test suite (representative set) which is sufficient to cover all the requirements. This significantly helps in reducing the testing cost, effort and time. In this paper, we perform an empirical study on standard minimization techniques: Greedy, Greedy Essential (GE) and Greedy Redundant Essential (GRE), to compare their minimized test suite size (output size), and their run time to calculate the minimized test suite, with varying percentage of essential test cases. We assume that the number of requirements that a test case satisfies is a random variable which follows a normal distribution. This study analyzes trends in both output size and run time of the heuristics and enables us to set guidelines for the testing team to choose appropriate heuristics for performing the test suite minimization for all possible values of ratio of overlapping (defined as the average number of test cases which satisfy a requirement).","PeriodicalId":378352,"journal":{"name":"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3452383.3452389","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Whenever a software evolves, regression testing needs to be performed which ensures evolution does not affect the existing software. Test suite minimization is one of the regression testing techniques which takes a test suite and provides a minimized test suite (representative set) which is sufficient to cover all the requirements. This significantly helps in reducing the testing cost, effort and time. In this paper, we perform an empirical study on standard minimization techniques: Greedy, Greedy Essential (GE) and Greedy Redundant Essential (GRE), to compare their minimized test suite size (output size), and their run time to calculate the minimized test suite, with varying percentage of essential test cases. We assume that the number of requirements that a test case satisfies is a random variable which follows a normal distribution. This study analyzes trends in both output size and run time of the heuristics and enables us to set guidelines for the testing team to choose appropriate heuristics for performing the test suite minimization for all possible values of ratio of overlapping (defined as the average number of test cases which satisfy a requirement).
贪心、GE和GRE启发式的实证分析
无论何时软件发展,都需要执行回归测试,以确保发展不会影响现有的软件。测试套件最小化是一种回归测试技术,它采用一个测试套件,并提供一个最小化的测试套件(代表性集),它足以覆盖所有的需求。这大大有助于减少测试成本、工作量和时间。在本文中,我们对标准最小化技术:贪心、贪心本质(GE)和贪心冗余本质(GRE)进行了实证研究,以比较它们的最小化测试套件大小(输出大小),以及它们计算最小化测试套件的运行时间,并使用不同百分比的基本测试用例。我们假设测试用例满足的需求数量是一个随机变量,它遵循正态分布。该研究分析了启发式的输出大小和运行时间的趋势,并使我们能够为测试团队设置指导方针,以便为所有可能的重叠比率值(定义为满足需求的测试用例的平均数量)选择适当的启发式来执行测试套件最小化。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信