arrow
Return

A language-parametric test coverage framework for executable domain-specific languages

delete2024-05-01
delete1
delete
OA
AI
F
Faezeh Khorram *
E
Erwan Bousse
A
Antonio Garmendía
J
Jean‐Marie Mottu
G
Gerson Sunyé
M
Manuel Wimmer
DOI:10.1016/j.jss.2024.111977delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Test coverage is an effective technique to measure test case quality and to enable fault localization. However, for Executable Domain -Specific Languages (xDSLs), coverage metrics and associated tools are currently manually defined for each xDSL resulting in costly, error -prone, and non -reusable work. To address this problem, we propose a novel language -parametric test coverage framework for xDSLs. We define two coverage metrics adapted to xDSLs: model element and branch coverage. For performing coverage measurements, we propose a generic technique which can be used out -of -the -box by domain experts using any xDSL to define, execute, and test models. In addition, the coverage of model elements and branches can be parameterized for a given xDSL through the definition of coverage rules using a dedicated language. We showcase two test coverage applications for xDSLs: measuring the quality of test suites for executable models and localizing the models' faults using Spectrum -Based Fault Localization techniques. We evaluate our approach using four different xDSLs. Results show that (i) we can generate meaningful coverage measurements for all investigated models, (ii) the provided coverage rule language enables framework parameterization for all xDSLs, and (iii) the computed coverage measurements are useful in identifying defects of the models.
Keywords:
Model testing
Model coverage
Branch coverage
Fault localization
Executable domain-specific languages
Executable models
Domain-Specific Modeling Languages to improve framework instantiation
err2013-12-01
err2
PREAI
errViana, Matheus C.; Penteado, Rosangela A. D.; do Prado, Antonio F.
errShare
errSave
Synthesizing interpreted domain-specific models to manage smart microgrids
err2014-10-01
err5
PREAI
errAllison, Mark; Morris, Karl A.; Costa, Fabio M.; Clarke, Peter J.
errShare
errSave
Efficient Black-Box Fault Localization for System-Level Test Code Using Large Language Models
err2026-06-25
err0
PREAI
errAhmadreza Saboor Yaraghi; Golnaz Gharachorlu; Sakina Fatima; Lionel C. Briand; Ruiyuan Wan; Ruifeng Gao
errShare
errSave
TraceAwareness and dual-strategy fuzz testing: Enhancing path coverage and crash localization with stochastic science and large language models
err2025-04-01
err0
PREAI
errChen, Xiaoquan; Liu, Jian; Zhang, Yingkai; Hu, Qinsong; Han, Yupeng; Zhang, Ruqi; Ran, Jingqi; Yan, Lei; Huang, Baiqi; Ma, Shengtin
errShare
errSave
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

C
centre national de la recherche scientifique (cnrs)
Scholars:
24.5W
Papers: 18.2W
Citations: 21.3W
U
université de rennes
Scholars:
238
Papers: 106
Citations: 8.5K
I
imt - institut mines-telecom
Scholars:
66
Papers: 130
Citations: 4.0K
I
IMT Atlantique
Scholars:
23
Papers: 15
Citations: 537
researcher View more organizations
Cited Papers

Cited Papers

The DStar Method for Effective Software Fault Localization
err2014-03-01
err327
PREAI
errWong, W. Eric; Debroy, Vidroha; Gao, Ruizhi; Li, Yihao
errShare
errSave
A Survey on Software Fault Localization
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
errShare
errSave
A practical evaluation of spectrum-based fault localization
err2009-11-01
err380
PREAI
errAbreu, Rui; Zoeteweij, Peter; Golsteijn, Rob; van Gemund, Arjan J. C.
errShare
errSave
A snowballing literature study on test amplification
err2019-11-01
err44
errOAAI
errDanglot, Benjamin; Vera-Perez, Oscar; Yu, Zhongxing; Zaidman, Andy; Monperrus, Martin; Baudry, Benoit
errShare
errSave
An Empirical Study of Fault Localization Families and Their Combinations
err2021-02-01
err204
errOAAI
errZou, Daming; Liang, Jingjing; Xiong, Yingfei; Ernst, Michael D.; Zhang, Lu
errShare
errSave
Slice-based statistical fault localization
err2014-03-01
err104
PREAI
errMao, Xiaoguang; Lei, Yan; Dai, Ziying; Qi, Yuhua; Wang, Chengsong
errShare
errSave
A Survey of Compiler Testing
err2020-02-06
err114
PREAI
errChen, Junjie; Patra, Jibesh; Pradel, Michael; Xiong, Yingfei; Zhang, Hongyu; Hao, Dan; Zhang, Lu
errShare
errSave
researcher View more