Applying a Pairwise Coverage Criterion to Scenario-Based Testing

L. D. Bousquet, Mickaël Delahaye, Catherine Oriat
{"title":"Applying a Pairwise Coverage Criterion to Scenario-Based Testing","authors":"L. D. Bousquet, Mickaël Delahaye, Catherine Oriat","doi":"10.1109/ICSTW.2016.23","DOIUrl":null,"url":null,"abstract":"Some scenario-based testing approaches propose to express a test suite as a regular expression (called scenario or pattern). It specifies a set of valid sequences of operations in a abstract way. When the regular expression is \"unfold\", test sequences are obtained. Usually, the unfolding is done in an exhaustive way, which can result in a combinatorial explosion. In this article, we explore a pairwise coverage criterion to select a subset of test sequences satisfying the pattern, in order to decrease the number of test sequences. The originality of the approach lies in the fact that the pairwise criterion is applied to the instantiated method calls (and not on the parameters). We applied this strategy to generate unit tests for Java classes. The quality of the test suites is evaluated with a mutation analysis and compared to test suites randomly generated.","PeriodicalId":335145,"journal":{"name":"2016 IEEE Ninth International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE Ninth International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTW.2016.23","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Some scenario-based testing approaches propose to express a test suite as a regular expression (called scenario or pattern). It specifies a set of valid sequences of operations in a abstract way. When the regular expression is "unfold", test sequences are obtained. Usually, the unfolding is done in an exhaustive way, which can result in a combinatorial explosion. In this article, we explore a pairwise coverage criterion to select a subset of test sequences satisfying the pattern, in order to decrease the number of test sequences. The originality of the approach lies in the fact that the pairwise criterion is applied to the instantiated method calls (and not on the parameters). We applied this strategy to generate unit tests for Java classes. The quality of the test suites is evaluated with a mutation analysis and compared to test suites randomly generated.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
对基于场景的测试应用成对覆盖标准
一些基于场景的测试方法建议将测试套件表示为正则表达式(称为场景或模式)。它以抽象的方式指定一组有效的操作序列。当正则表达式为“展开”时,得到测试序列。通常,展开是以穷尽的方式完成的,这可能导致组合爆炸。在本文中,我们探索了一个成对覆盖准则来选择满足模式的测试序列子集,以减少测试序列的数量。该方法的独创性在于将成对标准应用于实例化的方法调用(而不是参数)。我们将此策略应用于为Java类生成单元测试。通过突变分析评估测试套件的质量,并与随机生成的测试套件进行比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Nequivack: Assessing Mutation Score Confidence A Tool for Automated Inspection of Software Design Documents and Its Empirical Evaluation in an Aviation Industry Setting Difference in Quality of Test Architecture between Service Providers and Subcontractors Diversity-Aware Mutation Adequacy Criterion for Improving Fault Detection Capability Are We There Yet? How Redundant and Equivalent Mutants Affect Determination of Test Completeness
×
引用
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