Harnessing multiple source test cases in metamorphic testing: A case study in bioinformatics

被引:8
作者
Tang, Joshua Y. S. [1 ,2 ]
Yang, Andrian [1 ,2 ]
Chen, Tsong Yueh [3 ]
Ho, Joshua W. K. [1 ,2 ]
机构
[1] Victor Chang Cardiac Res Inst, Darlinghurst, NSW, Australia
[2] Univ New South Wales, Kensington, NSW, Australia
[3] Swinburne Univ Technol, Hawthorn, Vic, Australia
来源
2017 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2017) | 2017年
基金
英国医学研究理事会;
关键词
Metamorphic testing; bioinformatics; software testing; big data analysis;
D O I
10.1109/MET.2017.4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Metamorphic testing (MT) has been applied to software verification, validation and quality assessment. In most previous studies, research has focused on deriving metamorphic relations (MRs) such that the input of one or more follow-up test cases is generated from one source test case. We note that some programs under test (PUT) naturally take multiple inputs and process them simultaneously to generate multiple outputs. This type of programs are common in the field of big data analysis and bioinformatics. This means, in the source execution of the program, we can obtain multiple outputs from multiple source test cases. Here we consider a type of MR in which multiple follow-up test cases are generated from multiple source test cases simultaneously. We hypothesise that harnessing the outputs from multiple source test cases enables us to obtain additional information about the PUT, and therefore allows us to construct more effective MRs. In this paper, we designed a new MR to test a popular RNA sequence alignment program. Since the MR was designed based on a desirable property of the PUT (which uses a complex heuristic algorithm) rather than a necessary property, violation of this MR indicates the program outputs deviate from user expectation, hence this MR can be used for assessing the quality of the outputs. Furthermore, we note that outputs of the follow-up test cases allow us to putatively assign alignment information to some sequences that were not aligned in the source test cases, hence potentially identifying and correcting these 'false negative' outputs. We believe this case study provides important insight into designing MRs based on multiple source test cases, and how testing results can be used to improve the performance of some heuristic-based programs.
引用
收藏
页码:10 / 13
页数:4
相关论文
共 10 条
  • [1] [Anonymous], P 8 INT S FUT SOFTW
  • [2] The Oracle Problem in Software Testing: A Survey
    Barr, Earl T.
    Harman, Mark
    McMinn, Phil
    Shahbaz, Muzammil
    Yoo, Shin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) : 507 - 525
  • [3] An innovative approach for testing bioinformatics programs using metamorphic testing
    Chen, Tsong Yueh
    Ho, Joshua W. K.
    Liu, Huai
    Xie, Xiaoyuan
    [J]. BMC BIOINFORMATICS, 2009, 10
  • [4] Chen Tsong Yueh, 1998, TECHNICAL REPORT HKU
  • [5] STAR: ultrafast universal RNA-seq aligner
    Dobin, Alexander
    Davis, Carrie A.
    Schlesinger, Felix
    Drenkow, Jorg
    Zaleski, Chris
    Jha, Sonali
    Batut, Philippe
    Chaisson, Mark
    Gingeras, Thomas R.
    [J]. BIOINFORMATICS, 2013, 29 (01) : 15 - 21
  • [6] Verification and validation of bioinformatics software without a gold standard: a case study of BWA and Bowtie
    Giannoulatou, Eleni
    Park, Shin-Ho
    Humphreys, David T.
    Ho, Joshua W. K.
    [J]. BMC BIOINFORMATICS, 2014, 15
  • [7] A Survey on Metamorphic Testing
    Segura, Sergio
    Fraser, Gordon
    Sanchez, Ana B.
    Ruiz-Cortes, Antonio
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (09) : 805 - 824
  • [8] Troup M, 2016, 2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), P33, DOI [10.1109/MET.2016.014, 10.1145/2896971.2896975]
  • [9] Testing and validating machine learning classifiers by metamorphic testing
    Xie, Xiaoyuan
    Ho, Joshua W. K.
    Murphy, Christian
    Kaiser, Gail
    Xu, Baowen
    Chen, Tsong Yueh
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) : 544 - 558
  • [10] Metamorphic Testing for Software Quality Assessment: A Study of Search Engines
    Zhou, Zhi Quan
    Xiang, Shaowen
    Chen, Tsong Yueh
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (03) : 264 - 284