Covering SPL Behaviour with Sampled Configurations: An Initial Assessment

Xavier Devroey, Gilles Perrouin, Axel Legay, Pierre-Yves Schobbens, P. Heymans
{"title":"Covering SPL Behaviour with Sampled Configurations: An Initial Assessment","authors":"Xavier Devroey, Gilles Perrouin, Axel Legay, Pierre-Yves Schobbens, P. Heymans","doi":"10.1145/2701319.2701325","DOIUrl":null,"url":null,"abstract":"Structural approaches to Software Product Lines (SPL) testing (such as pairwise testing) have gained momentum as they are able to scale to larger SPLs described as feature diagrams (FD). However, these methods are agnostic with respect to behaviour: the sampled configurations have thus no reason to satisfy any given behavioural criterion. In this paper, we investigate the behavioural coverage of two structural testing criteria: pairwise and similarity. To do so, we modelled four SPLs in terms of feature diagrams and associated featured transitions systems (FTSs). We then computed state, action and transition coverage for a set of generated configurations. Preliminary results indicate that for relatively small variability models with few cross-tree constraints, structural coverage-driven tools tend to cover large parts of behaviour with less than 8 configurations. Though structural coverage cannot be used directly as a replacement for behavioural driven SPL test generation, opportunities to mix structural and behavioural coverage for efficient and effective SPL testing do exist.","PeriodicalId":232045,"journal":{"name":"Proceedings of the 9th International Workshop on Variability Modelling of Software-Intensive Systems","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 9th International Workshop on Variability Modelling of Software-Intensive Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2701319.2701325","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

Structural approaches to Software Product Lines (SPL) testing (such as pairwise testing) have gained momentum as they are able to scale to larger SPLs described as feature diagrams (FD). However, these methods are agnostic with respect to behaviour: the sampled configurations have thus no reason to satisfy any given behavioural criterion. In this paper, we investigate the behavioural coverage of two structural testing criteria: pairwise and similarity. To do so, we modelled four SPLs in terms of feature diagrams and associated featured transitions systems (FTSs). We then computed state, action and transition coverage for a set of generated configurations. Preliminary results indicate that for relatively small variability models with few cross-tree constraints, structural coverage-driven tools tend to cover large parts of behaviour with less than 8 configurations. Though structural coverage cannot be used directly as a replacement for behavioural driven SPL test generation, opportunities to mix structural and behavioural coverage for efficient and effective SPL testing do exist.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
覆盖采样配置的SPL行为:初步评估
软件产品线(SPL)测试的结构化方法(例如成对测试)已经获得了动力,因为它们能够扩展到描述为特征图(FD)的更大的SPL。然而,这些方法对行为是不可知的:因此,采样配置没有理由满足任何给定的行为标准。在本文中,我们研究了两种结构测试标准的行为覆盖率:两两和相似性。为此,我们根据特征图和相关的特征转换系统(FTSs)对四个spc进行建模。然后,我们为一组生成的配置计算状态、动作和转换覆盖率。初步的结果表明,对于具有很少交叉树约束的相对较小的可变性模型,结构覆盖驱动的工具倾向于用少于8个配置覆盖大部分的行为。虽然结构覆盖不能直接用作行为驱动的SPL测试生成的替代品,但是为了高效和有效的SPL测试,混合结构和行为覆盖的机会确实存在。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Towards Understanding Cognitive Aspects of Configuration Knowledge Formalization On the Variability Secrets of an Online Video Generator Variability Management for a Runtime Monitoring Infrastructure Visualization of Variability in Complex Development Structures Code Smells Revisited: A Variability Perspective
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1