Fault Detection Effectiveness of Source Test Case Generation Strategies for Metamorphic Testing

被引:10
作者
Saha, Prashanta [1 ]
Kanewala, Upulee [1 ]
机构
[1] Montana State Univ, Sch Comp, Bozeman, MT 59717 USA
来源
2018 IEEE/ACM 3RD INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2018) | 2018年
基金
美国国家科学基金会;
关键词
Metamorphic testing; Random testing; Source test case generation; Weak mutation; Branch coverage; Line coverage; SOFTWARE;
D O I
10.1145/3193977.3193982
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Metamorphic testing is a well known approach to tackle the oracle problem in software testing. This technique requires the use of source test cases that serve as seeds for the generation of follow-up test cases. Systematic design of test cases is crucial for the test quality. Thus, source test case generation strategy can make a big impact on the fault detection effectiveness of metamorphic testing. Most of the previous studies on metamorphic testing have used either random test data or existing test cases as source test cases. There has been limited research done on systematic source test case generation for metamorphic testing. This paper provides a comprehensive evaluation on the impact of source test case generation techniques on the fault finding effectiveness of metamorphic testing. We evaluated the effectiveness of line coverage, branch coverage, weak mutation and random test generation strategies for source test case generation. The experiments are conducted with 77 methods from 4 open source code repositories. Our results show that by systematically creating source test cases, we can significantly increase the fault finding effectiveness of metamorphic testing. Further, in this paper we introduce a simple metamorphic testing tool called "METtester" that we use to conduct metamorphic testing on these methods.
引用
收藏
页码:2 / 9
页数:8
相关论文
共 21 条
  • [1] Alatawi E, 2016, 2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), P19, DOI [10.1109/MET.2016.012, 10.1145/2896971.2896980]
  • [2] [Anonymous], SOFTWARE TESTING VER
  • [3] Arcuri Andrea, 2010, Proceedings of the Third IEEE International Conference on Software Testing, Verification and Validation (ICST 2010), P205, DOI 10.1109/ICST.2010.17
  • [4] 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
  • [5] Barus AC, 2016, 2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), P5, DOI [10.1109/MET.2016.010, 10.1145/2896971.2896977]
  • [6] Batra G, 2011, COMM COM INF SC, V141, P180
  • [7] Chen LL, 2012, 2012 6TH INTERNATIONAL CONFERENCE ON NEW TRENDS IN INFORMATION SCIENCE, SERVICE SCIENCE AND DATA MINING (ISSDM2012), P439
  • [8] Metamorphic Testing: A Simple Method for Alleviating the Test Oracle Problem
    Chen, Tsong Yueh
    [J]. 10TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST AST 2015, 2015, : 53 - 54
  • [9] Metamorphic Testing: Applications and Integration with Other Methods
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Towey, Dave
    Zhou, Zhi Quan
    [J]. 2012 12TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2012, : 285 - 288
  • [10] Chen Tsong Yueh, 2004, SNPD'04, P128