Harnessing Multiple Source Test Cases in Metamorphic Testing: A Case Study in Bioinformatics

Joshua Y. S. Tang, A. Yang, T. Chen, J. Ho
{"title":"Harnessing Multiple Source Test Cases in Metamorphic Testing: A Case Study in Bioinformatics","authors":"Joshua Y. S. Tang, A. Yang, T. Chen, J. Ho","doi":"10.1109/MET.2017.4","DOIUrl":null,"url":null,"abstract":"Metamorphic testing (MT) has been applied to software verification, validation and quality assessment. In mostprevious studies, research has focused on deriving metamorphic relations (MRs) such that the input of one or more follow-up testcases is generated from one source test case. We note that some programs under test (PUT) naturally take multiple inputs andprocess them simultaneously to generate multiple outputs. This type of programs are common in the field of big data analysisand bioinformatics. This means, in the source execution of the program, we can obtain multiple outputs from multiple sourcetest cases. Here we consider a type of MR in which multiple follow-up test cases are generated from multiple source testcases simultaneously. We hypothesise that harnessing the outputs from multiple source test cases enables us to obtain additionalinformation about the PUT, and therefore allows us to construct more effective MRs. In this paper, we designed a new MR to testa popular RNA sequence alignment program. Since the MR was designed based on a desirable property of the PUT (which usesa complex heuristic algorithm) rather than a necessary property, violation of this MR indicates the program outputs deviate fromuser expectation, hence this MR can be used for assessing the quality of the outputs. Furthermore, we note that outputs ofthe follow-up test cases allow us to putatively assign alignment information to some sequences that were not aligned in the sourcetest cases, hence potentially identifying and correcting these 'false negative' outputs. We believe this case study provides importantinsight into designing MRs based on multiple source test cases, and how testing results can be used to improve the performanceof some heuristic-based programs.","PeriodicalId":332688,"journal":{"name":"2017 IEEE/ACM 2nd International Workshop on Metamorphic Testing (MET)","volume":"152 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE/ACM 2nd International Workshop on Metamorphic Testing (MET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MET.2017.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

Metamorphic testing (MT) has been applied to software verification, validation and quality assessment. In mostprevious studies, research has focused on deriving metamorphic relations (MRs) such that the input of one or more follow-up testcases is generated from one source test case. We note that some programs under test (PUT) naturally take multiple inputs andprocess them simultaneously to generate multiple outputs. This type of programs are common in the field of big data analysisand bioinformatics. This means, in the source execution of the program, we can obtain multiple outputs from multiple sourcetest cases. Here we consider a type of MR in which multiple follow-up test cases are generated from multiple source testcases simultaneously. We hypothesise that harnessing the outputs from multiple source test cases enables us to obtain additionalinformation about the PUT, and therefore allows us to construct more effective MRs. In this paper, we designed a new MR to testa popular RNA sequence alignment program. Since the MR was designed based on a desirable property of the PUT (which usesa complex heuristic algorithm) rather than a necessary property, violation of this MR indicates the program outputs deviate fromuser expectation, hence this MR can be used for assessing the quality of the outputs. Furthermore, we note that outputs ofthe follow-up test cases allow us to putatively assign alignment information to some sequences that were not aligned in the sourcetest cases, hence potentially identifying and correcting these 'false negative' outputs. We believe this case study provides importantinsight into designing MRs based on multiple source test cases, and how testing results can be used to improve the performanceof some heuristic-based programs.
在变形测试中利用多源测试用例:生物信息学的案例研究
变形测试(MT)已应用于软件验证、验证和质量评估。在大多数先前的研究中,研究集中于推导变质关系(MRs),使得一个或多个后续测试用例的输入从一个源测试用例生成。我们注意到一些被测程序(PUT)自然地接受多个输入,并同时处理它们以产生多个输出。这种类型的程序在大数据分析和生物信息学领域很常见。这意味着,在程序的源执行中,我们可以从多个源测试用例中获得多个输出。这里我们考虑一种MR类型,其中多个后续测试用例同时从多个源测试用例生成。我们假设利用来自多个源测试用例的输出使我们能够获得关于PUT的额外信息,从而使我们能够构建更有效的mrs。在本文中,我们设计了一个新的MR来测试流行的RNA序列比对程序。由于MR是基于PUT的理想属性(使用复杂的启发式算法)而不是必要属性设计的,违反该MR表示程序输出偏离用户期望,因此该MR可用于评估输出的质量。此外,我们注意到后续测试用例的输出允许我们假定地将对齐信息分配给一些在源测试用例中未对齐的序列,因此潜在地识别和纠正这些“假阴性”输出。我们相信这个案例研究为基于多源测试用例设计MRs提供了重要的见解,以及如何使用测试结果来提高一些基于启发式的程序的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信