Published February 7, 2023 | Version v1
Thesis Open

A testing framework for executable domain-specific languages

Authors/Creators

  • 1. IMT Atlantique
  • 1. University of Nantes

Description

The continuous growth of software complexity raises the need for effective complexity management. Model-Driven Engineering (MDE) is a development paradigm that meets this requirement by separating concerns through models. A model is a specific abstraction of a system that can be defined by a Domain-Specific Language (DSL). A DSL with execution facilities, referred to as Executable DSL (xDSL), enriches the modeling quality by enabling the employment of dynamic Verification & Validation (V&V) techniques. Testing is the most prevalent dynamic V&V technique in the field of software engineering. While many testing frameworks exist for general-purpose programming languages, providing testing facilities for any given xDSL remains a costly and challenging task. In this thesis, we propose a generic testing framework for executable DSLs. Given an xDSL, the framework provides a testing language that supports the use of xDSL-specific concepts in the definition of test cases. This enables the xDSL’s users, namely the domain experts, to write test cases for their models. The written test cases can be executed on the models and the test results will be produced. To further support the domain expert in efficiently testing models, the framework offers three supplementary services: (i) test quality measurement to ensure that the written test cases are good enough; (ii) test debugging to localize the fault of the model under test in case of test failure; and (iii) automatic test improvement to strengthen the ability of written test cases in detecting regression faults.

Files

2022IMTA0332_KHORRAM-Faezeh.pdf

Files (31.4 MB)

Name Size Download all
md5:b1ab767cf741b203e175600d18366034
31.4 MB Preview Download

Additional details

Funding

European Commission
Lowcomote - Training the Next Generation of Experts in Scalable Low-Code Engineering Platforms 813884