Using Metamorphic Relation Violation Regions to Support a Simulation Framework for the Process of Metamorphic Testing

被引:1
|
作者
Ying, Zhihao [1 ]
Bellotti, Anthony [1 ]
Towey, Dave [1 ]
Chen, Tsong Yueh [2 ]
Zhou, Zhi Quan [3 ]
机构
[1] Univ Nottingham Ningbo China, Sch Comp Sci, Ningbo 315100, Zhejiang, Peoples R China
[2] Swinburne Univ Technol, Dept Comp Sci & Software Engn, Hawthorn, Vic 3122, Australia
[3] Univ Wollongong, Sch Comp & Informat Technol, Wollongong, NSW 2522, Australia
关键词
software quality assurance; oracle problem; metamorphic relations (MRs); metamorphic relation violation region (MRVR); metamorphic testing; simulations; PROPORTIONAL SAMPLING STRATEGY;
D O I
10.1109/COMPSAC54236.2022.00274
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Metamorphic testing (MT) has been growing in popularity, but it can still be quite challenging and time-consuming to assess its performance. Typical approaches to performance assessment can require a series of steps, and depend on a variety of factors, often requiring serendipity. This can be a bottleneck for some aspects of MT research. Central to MT, metamorphic relations (MRs) represent necessary properties of the system under test (SUT). In traditional software testing, simulations are often employed to examine and compare the performance of different testing strategies. However, these simulations are typically designed based on the assumed availability (and applicability) of a test oracle - a mechanism to decide the correctness of the SUT output or behaviour. A key reason for the popularity of MT is its proven record of effective software testing, without the need for a test oracle. This strength, however, also means that traditional ways of using simulations to analyse software testing approaches are not applicable for MT. This lack of cheap and fast ways to conduct simulation analyses of MT is a hurdle for many aspects of MT research, and may be an obstacle to its more widespread adoption. To address this, in this paper we introduce the concept of MR-violation regions (MRVRs), and show how they can be used for a certain category of MRs, Deterministic MRs (DMRs), to build simulation tools for MT. We analyse the differences between MRVRs and traditional, oracle-defined failure regions; and report on a preliminary case study exploring MRVRs in numerical-input-domain systems from previous MT studies. We anticipate that the proposed MT simulation framework may facilitate more research into MT, and may help lead to its more widespread adoption.
引用
收藏
页码:1722 / 1727
页数:6
相关论文
共 50 条
  • [1] Using constraint solvers to support metamorphic testing
    Carmen de Castro-Cabrera, M.
    Garcia-Dominguez, Antonio
    Medina-Bulo, Inmaculada
    [J]. 2019 IEEE/ACM 4TH INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2019), 2019, : 32 - 39
  • [2] Testing Web Enabled Simulation at Scale Using Metamorphic Testing
    Ahlgren, John
    Berezin, Maria Eugenia
    Bojarczuk, Kinga
    Dulskyte, Elena
    Dvortsova, Inna
    George, Johann
    Gucevska, Natalija
    Harman, Mark
    Lomeli, Maria
    Meijer, Erik
    Sapora, Silvia
    Spahr-Summers, Justin
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2021), 2021, : 140 - 149
  • [3] Metamorphic Testing of Relation Extraction Models
    Sun, Yuhe
    Ding, Zuohua
    Huang, Hongyun
    Zou, Senhao
    Jiang, Mingyue
    [J]. ALGORITHMS, 2023, 16 (02)
  • [4] METAMORPHIC TESTING FOR HYBRID SIMULATION VALIDATION
    Farhan, Mohammed
    Krejci, Caroline
    Olsen, Megan
    Raunak, M. S.
    [J]. PROCEEDINGS OF THE 2021 ANNUAL MODELING AND SIMULATION CONFERENCE (ANNSIM'21), 2020,
  • [5] Metamorphic relation prioritization for effective regression testing
    Srinivasan, Madhusudan
    Kanewala, Upulee
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2022, 32 (03):
  • [6] Validating a Deep Learning Framework by Metamorphic Testing
    Ding, Junhua
    Kang, Xiaojun
    Hu, Xin-Hua
    [J]. 2017 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2017), 2017, : 28 - 34
  • [7] A Declarative Metamorphic Testing Framework for Autonomous Driving
    Deng, Yao
    Zheng, Xi
    Zhang, Tianyi
    Liu, Huai
    Lou, Guannan
    Kim, Miryung
    Chen, Tsong Yueh
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 1964 - 1982
  • [8] Verification of Microservices Using Metamorphic Testing
    Luo, Gang
    Zheng, Xi
    Liu, Huai
    Xu, Rongbin
    Nagumothu, Dinesh
    Janapareddi, Ranjith
    Zhuang, Er
    Liu, Xiao
    [J]. ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING (ICA3PP 2019), PT I, 2020, 11944 : 138 - 152
  • [9] Testing Chatbots Using Metamorphic Relations
    Bozic, Josip
    Wotawa, Franz
    [J]. TESTING SOFTWARE AND SYSTEMS (ICTSS 2019), 2019, 11812 : 41 - 55
  • [10] Metamorphic relation generation for physics burnup program testing
    Li M.
    Wang L.
    Yan S.
    Yang X.
    [J]. International Journal of Performability Engineering, 2020, 16 (02) : 297 - 306