Advanced Testing and Debugging Support for Reactive Executable DSLs - Archive ouverte HAL
Article Dans Une Revue Software and Systems Modeling Année : 2023

Advanced Testing and Debugging Support for Reactive Executable DSLs

Résumé

Executable Domain-Specific Languages (xDSLs) allow the definition and the execution of behavioral models. Some behavioral models are reactive, meaning that during their execution, they accept external events and react by exposing events to the external environment. Since complex interaction may occur between the reactive model and the external environment, they should be tested as early as possible to ensure the correctness of their behavior. In this paper, we propose a set of generic testing facilities for reactive xDSLs using the standardized Test Description Language (TDL). Given a reactive xDSL, we generate a TDL library enabling the domain experts to write and run event-driven TDL test cases for conforming reactive models. To further support the domain expert, the approach integrates interactive debugging to help in localizing defects, and mutation analysis to measure the quality of test cases. We evaluate the level of genericity of the approach by successfully writing, executing, and analyzing 247 event-driven TDL test cases for 70 models conforming to two different reactive xDSLs.
Fichier principal
Vignette du fichier
main.pdf (8.71 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03723920 , version 1 (15-07-2022)

Identifiants

Citer

Faezeh Khorram, Erwan Bousse, Jean-Marie Mottu, Gerson Sunyé. Advanced Testing and Debugging Support for Reactive Executable DSLs. Software and Systems Modeling, 2023, 22, pp.819-845. ⟨10.1007/s10270-022-01025-w⟩. ⟨hal-03723920⟩
120 Consultations
133 Téléchargements

Altmetric

Partager

More