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

被引:9
|
作者
Saha, Prashanta [1 ]
Kanewala, Upulee [1 ]
机构
[1] Montana State Univ, Sch Comp, Bozeman, MT 59717 USA
基金
美国国家科学基金会;
关键词
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
相关论文
共 50 条
  • [1] The Impact of Source Test Case Selection on the Effectiveness of Metamorphic Testing
    Barus, Arlinta Christy
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Schmidt, Heinz W.
    [J]. 2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), 2016, : 5 - 11
  • [2] Path-directed source test case generation and prioritization in metamorphic testing
    Sun, Chang-ai
    Liu, Baoli
    Fu, An
    Liu, Yiqiang
    Liu, Huai
    [J]. Journal of Systems and Software, 2022, 183
  • [3] Path-directed source test case generation and prioritization in metamorphic testing
    Sun, Chang-ai
    Liu, Baoli
    Fu, An
    Liu, Yiqiang
    Liu, Huai
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 183
  • [4] Fault Detection Effectiveness of Metamorphic Relations Developed for Testing Supervised Classifiers
    Saha, Prashanta
    Kanewala, Upulee
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING (AITEST), 2019, : 157 - 164
  • [5] Harnessing multiple source test cases in metamorphic testing: A case study in bioinformatics
    Tang, Joshua Y. S.
    Yang, Andrian
    Chen, Tsong Yueh
    Ho, Joshua W. K.
    [J]. 2017 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2017), 2017, : 10 - 13
  • [6] A quest for appropriate software fault models: Case studies on fault detection effectiveness of model-based test generation techniques
    Paradkar, Amit
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (10) : 949 - 959
  • [7] Metamorphic testing as a test case selection strategy
    Dave Towey
    Yunwei Dong
    Chang-Ai Sun
    Tsong Yueh Chen
    [J]. Science China Information Sciences, 2016, 59
  • [8] Metamorphic testing as a test case selection strategy
    Dave TOWEY
    Yunwei DONG
    Chang-Ai SUN
    Tsong Yueh CHEN
    [J]. Science China(Information Sciences), 2016, 59 (05) : 24 - 25
  • [9] Metamorphic testing as a test case selection strategy
    Towey, Dave
    Dong, Yunwei
    Sun, Chang-Ai
    Chen, Tsong Yueh
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2016, 59 (05)
  • [10] A Novelty Search and Metamorphic Testing Approach to Automatic Test Generation
    DeVries, Byron
    Trefftz, Christian
    [J]. 2021 IEEE/ACM 14TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST 2021), 2021, : 8 - 11