Automated Testing Support for Reactive Domain-Specific Modelling Languages

被引:11
|
作者
Meyers, Bart [1 ]
Denil, Joachim [1 ]
David, Istvan [1 ]
Vangheluwe, Hans [2 ,3 ]
机构
[1] Univ Antwerp, Modelling Simulat & Design Lab, Antwerp, Belgium
[2] McGill Univ, Modelling Simulat & Design Lab, Montreal, PQ, Canada
[3] Univ Antwerp, Antwerp, Belgium
关键词
Domain-Specific Modelling; Language Engineering; Model Testing;
D O I
10.1145/2997364.2997367
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Domain-specific modelling languages (DSML) enable domain users to model systems in their problem domain, using concepts and notations they are familiar with. The process of domain-specific modelling (DSM) consists of two stages: a language engineering stage where a DSML is created, and a system modelling stage where the DSML is used. Because techniques such as metamodelling and model transformation allow for an efficient creation of DSMLs, and using DSMLs significantly increases productivity, DSM is very suitable for early prototyping. Many systems that are modelled using DSMLs are reactive, meaning that during their execution, they respond to external input. Because of the complexity of input and response behaviour of reactive systems, it is desirable to test models as early as possible. However, while dedicated testing support for specific DSMLs has been provided, no systematic support exists for testing DSML models according to DSM principles. In this paper, we introduce a technique to automatically generate a domain-specific testing framework from an annotated DSML definition. In our approach, the DSML definition consists of a metamodel, a concrete syntax definition and operational semantics described as a schedule of graph rewrite rules, thus covering a large class of DSMLs. Currently, DSMLs with deterministic behaviour are supported, but we provide an outlook to other (nondeterministic, real-time or continuous-time) DSMLs. We illustrate the approach with a DSML for describing an elevator controller. We evaluate the approach and conclude that compared to the state-of-the-art, our testing support is significantly less costly, and similar or better (according to DSM principles) testing support is achieved. Additionally, the generative nature of the approach makes testing support for DSMLs less error-prone while catering the need for early testing.
引用
收藏
页码:181 / 194
页数:14
相关论文
共 50 条
  • [21] Automated engineering of domain-specific metamorphic testing environments
    Gomez-Abajo, Pablo
    Canizares, Pablo C.
    Nunez, Alberto
    Guerra, Esther
    de Lara, Juan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 157
  • [22] On the use of LLMs to support the development of domain-specific modeling languages
    Di Sipio, Claudio
    Rubei, Riccardo
    Di Rocco, Juri
    Di Ruscio, Davide
    Iovino, Ludovico
    ACM/IEEE 27TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS: COMPANION PROCEEDINGS, MODELS 2024, 2024, : 596 - 601
  • [23] On domain-specific languages reengineering
    Alias, C
    Barthou, D
    GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, PROCEEDINGS, 2005, 3676 : 63 - 77
  • [24] Unembedding Domain-Specific Languages
    Atkey, Robert
    Lindley, Sam
    Yallop, Jeremy
    HASKELL'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN HASKELL SYMPOSIUM, 2009, : 37 - 48
  • [25] On the Globalization of Domain-Specific Languages
    Cheng, Betty H. C.
    Combemale, Benoit
    France, Robert B.
    Jezequel, Jean-Marc
    Rumpe, Bernhard
    GLOBALIZING DOMAIN-SPECIFIC LANGUAGES, 2015, 9400 : 1 - 6
  • [26] Macros for Domain-Specific Languages
    Ballantyne, Michael
    King, Alexis
    Felleisen, Matthias
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA):
  • [27] Domain-Specific Modelling Languages for Participatory Agent-Based Modelling in Healthcare
    Godfrey, Thomas
    24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 655 - 660
  • [28] Domain-specific tensor languages
    Bernardy, Jean-philippe
    Jansson, Patrik
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2025, 35
  • [29] A Framework for Temporal Verification Support in Domain-Specific Modelling
    Meyers, Bart
    Vangheluwe, Hans
    Denil, Joachim
    Salay, Rick
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (04) : 362 - 404
  • [30] DSMCompare: domain-specific model differencing for graphical domain-specific languages
    Manouchehr Zadahmad
    Eugene Syriani
    Omar Alam
    Esther Guerra
    Juan de Lara
    Software and Systems Modeling, 2022, 21 : 2067 - 2096