The Impact of Source Test Case Selection on the Effectiveness of Metamorphic Testing

A. Barus, T. Chen, Fei-Ching Kuo, Huai Liu, H. Schmidt
{"title":"The Impact of Source Test Case Selection on the Effectiveness of Metamorphic Testing","authors":"A. Barus, T. Chen, Fei-Ching Kuo, Huai Liu, H. Schmidt","doi":"10.1145/2896971.2896977","DOIUrl":null,"url":null,"abstract":"Metamorphic Testing (MT) aims to alleviate the oracle problem. In MT, testers define metamorphic relations (MRs) which are used to generate new test cases (referred to as follow-up test cases) from the available test cases (referred to as source test cases). Both source and follow-up test cases are executed and their outputs are verified against the relevant MRs, of which any violation implies that the software under test is faulty. So far, the research on the effectiveness of MT has been focused on the selection of better MRs (that is, MRs that are more likely to be violated). In addition to MR selection, the source and follow-up test cases may also affect the effectiveness of MT. Since follow-up test cases are defined by the source test cases and MRs, selection of source test cases will then affect the effectiveness of MT. However, in existing MT studies, random testing is commonly adopted as the test case selection strategy for source test cases. This study aims to investigate the impact of source test cases on the effectiveness of MT. Since Adaptive Random Testing (ART) has been developed as an enhancement to Random Testing (RT), this study will focus on comparing the performance of RT and ART as source test case selection strategies on the effectiveness of MT. Experiment results show that ART outperforms RT on enhancing the effectiveness of MT.","PeriodicalId":221357,"journal":{"name":"2016 IEEE/ACM 1st International Workshop on Metamorphic Testing (MET)","volume":"47 6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-05-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE/ACM 1st International Workshop on Metamorphic Testing (MET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2896971.2896977","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

Metamorphic Testing (MT) aims to alleviate the oracle problem. In MT, testers define metamorphic relations (MRs) which are used to generate new test cases (referred to as follow-up test cases) from the available test cases (referred to as source test cases). Both source and follow-up test cases are executed and their outputs are verified against the relevant MRs, of which any violation implies that the software under test is faulty. So far, the research on the effectiveness of MT has been focused on the selection of better MRs (that is, MRs that are more likely to be violated). In addition to MR selection, the source and follow-up test cases may also affect the effectiveness of MT. Since follow-up test cases are defined by the source test cases and MRs, selection of source test cases will then affect the effectiveness of MT. However, in existing MT studies, random testing is commonly adopted as the test case selection strategy for source test cases. This study aims to investigate the impact of source test cases on the effectiveness of MT. Since Adaptive Random Testing (ART) has been developed as an enhancement to Random Testing (RT), this study will focus on comparing the performance of RT and ART as source test case selection strategies on the effectiveness of MT. Experiment results show that ART outperforms RT on enhancing the effectiveness of MT.
源测试用例选择对变形测试有效性的影响
变形测试(MT)旨在缓解oracle问题。在MT中,测试人员定义用于从可用的测试用例(称为源测试用例)生成新的测试用例(称为后续测试用例)的变质关系(MRs)。源测试用例和后续测试用例都将被执行,并且它们的输出将根据相关的MRs进行验证,其中任何违反都意味着被测软件是错误的。到目前为止,对MT有效性的研究主要集中在选择更好的MRs(即更容易被违反的MRs)。除了MR的选择之外,源测试用例和后续测试用例也会影响机器翻译的有效性。由于后续测试用例是由源测试用例和MR定义的,因此源测试用例的选择也会影响机器翻译的有效性。然而,在现有的机器翻译研究中,源测试用例通常采用随机测试作为测试用例的选择策略。本研究旨在探讨源测试用例对机器翻译有效性的影响。由于自适应随机测试(ART)是随机测试(RT)的增强,因此本研究将重点比较自适应随机测试和自适应随机测试作为源测试用例选择策略对机器翻译有效性的影响。实验结果表明,自适应随机测试在提高机器翻译有效性方面优于RT。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信