Relating counterexamples to test cases in CTL model checking specifications

Most Pub Date : 2007-07-09 DOI:10.1145/1291535.1291543
D. Wijesekera, P. Ammann, Lingya Sun, G. Fraser
{"title":"Relating counterexamples to test cases in CTL model checking specifications","authors":"D. Wijesekera, P. Ammann, Lingya Sun, G. Fraser","doi":"10.1145/1291535.1291543","DOIUrl":null,"url":null,"abstract":"Counterexamples produced by model checkers are frequently exploited for the purpose of testing. Counterexamples and test cases are generally treated as essentially the same thing, while in fact they can differ significantly. For example, it might take more than one test case to \"cover\" a given counterexample, because not all property violations can be illustrated with linear counterexamples. This paper presents a formal relationship between counterexamples and test cases in the context of the Computation Tree Logic (CTL), the logic of the popular model checker SMV. Given a test requirement as a CTL formula, we define what it means for a set of test cases to cover a counterexample associated with that requirement. This result can not only be used in the generation of a test set that satisfies a given test coverage criterion, but also in the determination of whether an extant test set satisfies the criterion. Our results can guide the production of counterexamples in model checkers explicitly intended to support testing.","PeriodicalId":439154,"journal":{"name":"Most","volume":"66 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Most","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1291535.1291543","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Counterexamples produced by model checkers are frequently exploited for the purpose of testing. Counterexamples and test cases are generally treated as essentially the same thing, while in fact they can differ significantly. For example, it might take more than one test case to "cover" a given counterexample, because not all property violations can be illustrated with linear counterexamples. This paper presents a formal relationship between counterexamples and test cases in the context of the Computation Tree Logic (CTL), the logic of the popular model checker SMV. Given a test requirement as a CTL formula, we define what it means for a set of test cases to cover a counterexample associated with that requirement. This result can not only be used in the generation of a test set that satisfies a given test coverage criterion, but also in the determination of whether an extant test set satisfies the criterion. Our results can guide the production of counterexamples in model checkers explicitly intended to support testing.
将反例与CTL模型检查规范中的测试用例联系起来
模型检查器产生的反例经常被用于测试目的。反例和测试用例通常被视为本质上相同的东西,而实际上它们可能有很大的不同。例如,可能需要多个测试用例来“覆盖”给定的反例,因为不是所有的属性违反都可以用线性反例来说明。本文在计算树逻辑(CTL)的背景下给出了反例和测试用例之间的形式化关系,CTL是流行的模型检查器SMV的逻辑。给定一个作为CTL公式的测试需求,我们定义它对于一组测试用例的意义,以覆盖与该需求相关的反例。该结果不仅可以用于生成满足给定测试覆盖率准则的测试集,还可以用于确定现有测试集是否满足该准则。我们的结果可以指导模型检查器中明确支持测试的反例的生成。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信