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 条
  • [31] DSMCompare: domain-specific model differencing for graphical domain-specific languages
    Zadahmad, Manouchehr
    Syriani, Eugene
    Alam, Omar
    Guerra, Esther
    de Lara, Juan
    SOFTWARE AND SYSTEMS MODELING, 2022, 21 (05): : 2067 - 2096
  • [32] Domain-specific languages for the automated generation of datasets for industry 4.0 applications
    Sal, Brian
    Garcia-Saiz, Diego
    de la Vega, Alfonso
    Sanchez, Pablo
    JOURNAL OF INDUSTRIAL INFORMATION INTEGRATION, 2024, 41
  • [33] A Suite of Domain-Specific Visual Languages For Scientific Software Application Modelling
    Almorsy, Mohamed
    Grundy, John
    Sadus, Richard
    van Straten, Willem
    Barnes, David G.
    Kaluza, Owen
    2013 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2013), 2013, : 91 - 94
  • [34] 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
  • [35] Towards Tool Support for Spreadsheet-Based Domain-Specific Languages
    Adam, Sorin
    Schultz, Ulrik Pagh
    ACM SIGPLAN NOTICES, 2016, 51 (03) : 95 - 98
  • [36] Towards Tool Support for Spreadsheet-Based Domain-Specific Languages
    Adam, Sorin
    Schultz, Ulrik Pagh
    GPCE'15: PROCEEDINGS OF THE 2015 ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES, 2015, : 95 - 98
  • [37] Untangling Crosscutting Concerns in Domain-specific Languages with Domain-specific Join Points
    Dinkelaker, Tom
    Monperrus, Martin
    Mezini, Mira
    DSAL09: DOMAIN-SPECIFIC ASPECT LANGUAGES, 2009, : 1 - 5
  • [38] Domain-Specific Languages in Scientific Computing
    Hinsen, Konrad
    COMPUTING IN SCIENCE & ENGINEERING, 2018, 20 (01) : 88 - 92
  • [39] Compositional Embeddings of Domain-Specific Languages
    Sun, Yaozhu
    Dhandhania, Utkarsh
    Oliveira, Bruno C. D. S.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (OOPSLA):
  • [40] A Taxonomy of Domain-Specific Aspect Languages
    Fabry, Johan
    Dinkelaker, Tom
    Noye, Jacques
    Tanter, Eric
    ACM COMPUTING SURVEYS, 2015, 47 (03)