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 条
  • [21] Validation and Verification in Domain-Specific Modeling Method Engineering
    Ma, Qin
    Kaczmarek-Hess, Monika
    de Kinderen, Sybren
    PRACTICE OF ENTERPRISE MODELING, POEM 2021, 2021, 432 : 119 - 133
  • [22] WebDSL: A Case Study in Domain-Specific Language Engineering
    Visser, Eelco
    GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING II, 2008, 5235 : 291 - 373
  • [23] A formal approach to the engineering of domain-specific distributed systems
    De Nicola, Rocco
    Ferrari, Gianluigi
    Pugliese, Rosario
    Tiezzi, Francesco
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2020, 111
  • [24] Towards a Systematic Engineering of Industrial Domain-Specific Languages
    Gupta, Rohit
    Kranz, Sieglinde
    Regnat, Nikolaus
    Rumpe, Bernhard
    Wortmann, Andreas
    2021 IEEE/ACM 8TH INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING RESEARCH AND INDUSTRIAL PRACTICE (SER&IP 2021), 2021, : 49 - 56
  • [25] Domain-specific modeling: the killer App for method engineering?
    Kelly, Steven
    Situational Method Engineering: Fundamentals and Experiences, 2007, 244 : 1 - 5
  • [26] Identifying Domain-Specific Cognitive Strategies for Software Engineering
    Haidry, Shifa-E-Zehra
    Falkner, Katrina
    Szabo, Claudia
    ITICSE'17: PROCEEDINGS OF THE 2017 ACM CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, 2017, : 206 - 211
  • [27] Domain-Specific Metamodelling Languages for Software Language Engineering
    Zschaler, Steffen
    Kolovos, Dimitrios S.
    Drivalos, Nikolaos
    Paige, Richard F.
    Rashid, Awais
    SOFTWARE LANGUAGE ENGINEERING, 2010, 5969 : 334 - +
  • [28] Photon: A Domain-specific Language for Testing Converged Applications
    Miller, Anne
    Kumar, Balaji
    Singhal, Anukul
    2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 942 - 947
  • [29] Canopus: A Domain-Specific Language for Modeling Performance Testing
    Bernardino, Maicon
    Zorzo, Avelino F.
    Rodrigues, Elder M.
    2016 9TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2016, : 157 - 167
  • [30] Building Domain-Specific Modelling Environments with Papyrus: An Experience Report
    Dupont, Guillaume
    Mustafiz, Sadaf
    Khendek, Ferhat
    Toeroe, Maria
    2018 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON MODELLING IN SOFTWARE ENGINEERING (MISE), 2018, : 49 - 56