A coevolutionary algorithm to automatic test case selection and mutant in Mutation Testing

André Assis Lôbo de Oliveira, C. Camilo-Junior, A. Vincenzi
{"title":"A coevolutionary algorithm to automatic test case selection and mutant in Mutation Testing","authors":"André Assis Lôbo de Oliveira, C. Camilo-Junior, A. Vincenzi","doi":"10.1109/CEC.2013.6557654","DOIUrl":null,"url":null,"abstract":"One of the main problems to perform the Software Testing is to find a set of tests (subset from input domain of the problem) which is effective to detect the remaining bugs in the software. The Search-Based Software Testing (SBST) approach uses metaheuristics to find low cost set of tests with a high effectiveness to detect bugs. From several existing test criteria, Mutation Testing is considered quite promising to reveal bugs, despite its high computational cost, due to the great quantity of mutant programs generated. Therefore, this paper addresses the problem of selecting mutant programs and test cases in Mutation Testing context. To this end, it is proposed a Coevolutionary Genetic Algorithm (CGA) and the concept of Genetic Effectiveness, describing a new representation and implementing new genetic operators. The CGA is applied in five benchmarks and the results are compared to other five methods, showing a better performance of the proposed algorithm in subsets automatic selection with better mutation score and greater reduction of computational cost, specifically the amount of testing, when compared with exhaustive test.","PeriodicalId":211988,"journal":{"name":"2013 IEEE Congress on Evolutionary Computation","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2013-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"42","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 IEEE Congress on Evolutionary Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CEC.2013.6557654","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 42

Abstract

One of the main problems to perform the Software Testing is to find a set of tests (subset from input domain of the problem) which is effective to detect the remaining bugs in the software. The Search-Based Software Testing (SBST) approach uses metaheuristics to find low cost set of tests with a high effectiveness to detect bugs. From several existing test criteria, Mutation Testing is considered quite promising to reveal bugs, despite its high computational cost, due to the great quantity of mutant programs generated. Therefore, this paper addresses the problem of selecting mutant programs and test cases in Mutation Testing context. To this end, it is proposed a Coevolutionary Genetic Algorithm (CGA) and the concept of Genetic Effectiveness, describing a new representation and implementing new genetic operators. The CGA is applied in five benchmarks and the results are compared to other five methods, showing a better performance of the proposed algorithm in subsets automatic selection with better mutation score and greater reduction of computational cost, specifically the amount of testing, when compared with exhaustive test.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
突变测试中自动选择测试用例和突变的协同进化算法
执行软件测试的主要问题之一是找到一组测试(问题输入域的子集)来有效地检测软件中剩余的错误。基于搜索的软件测试(SBST)方法使用元启发式方法来寻找成本低、效率高的测试集来检测bug。从几个现有的测试标准来看,突变测试被认为是很有希望发现错误的,尽管它的计算成本很高,因为产生了大量的突变程序。因此,本文研究了突变测试环境下突变程序和测试用例的选择问题。为此,提出了一种协同进化遗传算法(CGA)和遗传有效性的概念,描述了一种新的表示和实现了新的遗传算子。将CGA应用于5个基准测试中,并与其他5种方法进行了比较,结果表明,与穷举测试相比,该算法在子集自动选择方面具有更好的性能,具有更好的突变得分和更大的计算成本,特别是测试量的减少。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A study on two-step search based on PSO to improve convergence and diversity for Many-Objective Optimization Problems An evolutionary approach to the multi-objective pickup and delivery problem with time windows A new performance metric for user-preference based multi-objective evolutionary algorithms A new algorithm for reducing metaheuristic design effort Evaluation of gossip Vs. broadcast as communication strategies for multiple swarms solving MaOPs
×
引用
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