Efficient Mutation Testing in Configurable Systems

Mustafa Al-Hajjaji, J. Krüger, Fabian Benduhn, Thomas Leich, G. Saake
{"title":"Efficient Mutation Testing in Configurable Systems","authors":"Mustafa Al-Hajjaji, J. Krüger, Fabian Benduhn, Thomas Leich, G. Saake","doi":"10.1109/VACE.2017.3","DOIUrl":null,"url":null,"abstract":"Mutation testing is a technique to evaluate the quality of test cases by assessing their ability to detect faults. Mutants are modified versions of the original program that are generated automatically and should contain faults similar to those caused by developers' mistakes. For configurable systems, existing approaches propose mutation operators to produce faults that may only exist in some configurations. However, due to the number of possible configurations, generating and testing all mutants for each program is not feasible. To tackle this problem, we discuss to use static analysis and adopt the idea of T-wise testing to limit the number of mutants. In particular, we i) discuss dependencies that exist in configurable systems, ii) how we can use them to identify code to mutate, and iii) assess the expected outcome. Our preliminary results show that variability analysis can help to reduce the number of mutants and, thus, costs for testing.","PeriodicalId":391663,"journal":{"name":"2017 IEEE/ACM 2nd International Workshop on Variability and Complexity in Software Design (VACE)","volume":"42 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE/ACM 2nd International Workshop on Variability and Complexity in Software Design (VACE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/VACE.2017.3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

Mutation testing is a technique to evaluate the quality of test cases by assessing their ability to detect faults. Mutants are modified versions of the original program that are generated automatically and should contain faults similar to those caused by developers' mistakes. For configurable systems, existing approaches propose mutation operators to produce faults that may only exist in some configurations. However, due to the number of possible configurations, generating and testing all mutants for each program is not feasible. To tackle this problem, we discuss to use static analysis and adopt the idea of T-wise testing to limit the number of mutants. In particular, we i) discuss dependencies that exist in configurable systems, ii) how we can use them to identify code to mutate, and iii) assess the expected outcome. Our preliminary results show that variability analysis can help to reduce the number of mutants and, thus, costs for testing.
可配置系统中的高效突变测试
突变测试是一种通过评估测试用例检测故障的能力来评估测试用例质量的技术。突变体是自动生成的原始程序的修改版本,应该包含与开发人员错误相似的错误。对于可配置系统,现有方法提出突变算子来产生可能只存在于某些配置中的故障。然而,由于可能配置的数量,为每个程序生成和测试所有突变体是不可实现的。为了解决这个问题,我们讨论了使用静态分析和采用T-wise测试的思想来限制突变体的数量。特别地,我们i)讨论存在于可配置系统中的依赖关系,ii)我们如何使用它们来识别要变化的代码,以及iii)评估预期的结果。我们的初步结果表明,变异分析可以帮助减少突变的数量,从而减少测试的成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信