Automated engineering of domain-specific metamorphic testing environments

被引:1
|
作者
Gomez-Abajo, Pablo [1 ]
Canizares, Pablo C. [1 ]
Nunez, Alberto [2 ]
Guerra, Esther [1 ]
de Lara, Juan [1 ]
机构
[1] Univ Autonoma Madrid, Modelling & Software Engn Res Grp, Madrid, Spain
[2] Univ Complutense Madrid, Formal Anal & Design Software Syst Res Grp, Madrid, Spain
关键词
Metamorphic testing; Model-driven engineering; Domain-specific languages; Cloud computing; Simulation; VALIDATION; CLOUD;
D O I
10.1016/j.infsof.2023.107164
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Testing is essential to improve the correctness of software systems. Metamorphic testing (MT) is an approach especially suited when the system under test lacks oracles, or they are expensive to compute. However, building an MT environment for a particular domain (e.g., cloud simulation, model transformation, machine learning) requires substantial effort.Objective: Our goal is to facilitate the construction of MT environments for specific domains.Method: We propose a model-driven engineering approach to automate the construction of MT environments. Starting from a meta-model capturing the domain concepts, and a description of the domain execution environment, our approach produces an MT environment featuring comprehensive support for the MT process. This includes the definition of domain-specific metamorphic relations, their evaluation, detailed reporting of the testing results, and the automated search-based generation of follow-up test cases. Results: Our method is supported by an extensible platform for Eclipse, called Gotten. We demonstrate its effectiveness by creating an MT environment for simulation-based testing of data centres and comparing with existing tools; its suitability to conduct MT processes by replicating previous experiments; and its generality by building another MT environment for video streaming APIs.Conclusion: Gotten is the first platform targeted at reducing the development effort of domain-specific MT environments. The environments created with Gotten facilitate the specification of metamorphic relations, their evaluation, and the generation of new test cases.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] GOTTEN: A Model-driven Solution to Engineer Domain-specific Metamorphic Testing Environments
    Gomez-Abajo, Pablo
    Canizares, Pablo C.
    Nunez, Alberto
    Guerra, Esther
    de lara, Juan
    2023 ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION, MODELS-C, 2023, : 65 - 69
  • [2] Towards Domain-Specific Automated Testing via Behavioural Cloning
    Gatt, Cristina
    Bugeja, Mark
    Micallef, Mark
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2022), 2022, : 146 - 149
  • [3] Automated Testing Support for Reactive Domain-Specific Modelling Languages
    Meyers, Bart
    Denil, Joachim
    David, Istvan
    Vangheluwe, Hans
    PROCEEDINGS OF THE 2016 ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING (SLE'16), 2016, : 181 - 194
  • [4] ON THE POWER OF DOMAIN-SPECIFIC HYPERTEXT ENVIRONMENTS
    SCACCHI, W
    JOURNAL OF THE AMERICAN SOCIETY FOR INFORMATION SCIENCE, 1989, 40 (03): : 183 - 191
  • [5] Composing domain-specific design environments
    Lédeczi, A
    Bakay, A
    Maróti, M
    Völgyesi, P
    Nordstrom, G
    Sprinkle, J
    Karsai, G
    COMPUTER, 2001, 34 (11) : 44 - +
  • [6] Domain-Specific Modeling in Document Engineering
    Djukic, Verislav
    Tolvanen, Juha-Pekka
    PROCEEDINGS OF THE 21ST ACM SYMPOSIUM ON DOCUMENT ENGINEERING (DOCENG '21), 2021,
  • [7] Domain-specific engineering collaboration implementation
    Qiu, ZM
    Wong, YS
    Huang, XG
    Liao, Q
    Feng, W
    Liu, ZJ
    Zhao, JM
    Xie, Z
    Shen, ZQ
    Liu, QH
    CONCURRENT ENGINEERING: ADVANCED DESIGN, PRODUCTION AND MANAGEMENT SYSTEMS, 2003, : 177 - 181
  • [8] Unit Testing for Domain-Specific Languages
    Wu, Hui
    Gray, Jeff
    Mernik, Marjan
    DOMAIN-SPECIFIC LANGUAGES, PROCEEDINGS, 2009, 5658 : 125 - +
  • [9] Testing domain-specific languages in eclipse
    Wu, Hui
    Gray, Jeff
    Proc Conf Object Orient Program Syst Lang Appl OOPSLA, (173-174):
  • [10] On the Automated Derivation of Domain-Specific UML Profiles
    Kraas, Alexander
    MODELLING FOUNDATIONS AND APPLICATIONS, ECMFA 2017, 2017, 10376 : 3 - 19