arrow
返回

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
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

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.
Keyword:
Model testing
Model coverage
Branch coverage
Fault localization
Executable domain-specific languages
Executable models
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

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.
err分享
err收藏
err分享
err收藏
err分享
err收藏

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
1.0W

机构

C
centre national de la recherche scientifique (cnrs)
学者数:
24.5W
论文数: 18.2W
被引数: 21.3W
U
université de rennes
学者数:
238
论文数: 106
被引数: 8.5K
I
imt - institut mines-telecom
学者数:
66
论文数: 130
被引数: 4.0K
I
IMT Atlantique
学者数:
23
论文数: 15
被引数: 537
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
A practical evaluation of spectrum-based fault localization基于频谱的故障定位的实用评估
err2009-11-01
err380
PREAI
errAbreu, Rui; Zoeteweij, Peter; Golsteijn, Rob; van Gemund, Arjan J. C.
err分享
err收藏
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
err分享
err收藏
err分享
err收藏
Slice-based statistical fault localization基于切片的统计故障定位
err2014-03-01
err104
PREAI
errMao, Xiaoguang; Lei, Yan; Dai, Ziying; Qi, Yuhua; Wang, Chengsong
err分享
err收藏
A Survey of Compiler Testing编译器测试综述
err2020-02-06
err114
PREAI
errChen, Junjie; Patra, Jibesh; Pradel, Michael; Xiong, Yingfei; Zhang, Hongyu; Hao, Dan; Zhang, Lu
err分享
err收藏
学者 查看更多内容