使用上下文无关语法和覆盖数组生成测试

D. Hoffman, Lewis Sobotkiewicz, Hong-Yi Wang, P. Strooper, Gary Bazdell, B. Stevens
{"title":"使用上下文无关语法和覆盖数组生成测试","authors":"D. Hoffman, Lewis Sobotkiewicz, Hong-Yi Wang, P. Strooper, Gary Bazdell, B. Stevens","doi":"10.1109/TAICPART.2009.35","DOIUrl":null,"url":null,"abstract":"Covering arrays and context-free grammars have seen extensive use in software test generation. A covering-array algorithm takes a list of domains and generates a subset of the cartesian product of the domains. A grammar-based test generation (GBTG) algorithm takes a grammar G and generates a subset of the language accepted by G. Covering arrays and GBTG are usually applied independently. We show that CFG rules and covering-array specifications can be freely intermixed, with precise, intuitive semantics and efficient generation. We present a novel approach for ``tagging'' grammars with specifications for mixed-strength covering arrays, a generalization of conventional covering arrays. We have developed algorithms for test generation and implemented a tool for generating test cases from tagged grammars.","PeriodicalId":339626,"journal":{"name":"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques","volume":"97 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Test Generation with Context Free Grammars and Covering Arrays\",\"authors\":\"D. Hoffman, Lewis Sobotkiewicz, Hong-Yi Wang, P. Strooper, Gary Bazdell, B. Stevens\",\"doi\":\"10.1109/TAICPART.2009.35\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Covering arrays and context-free grammars have seen extensive use in software test generation. A covering-array algorithm takes a list of domains and generates a subset of the cartesian product of the domains. A grammar-based test generation (GBTG) algorithm takes a grammar G and generates a subset of the language accepted by G. Covering arrays and GBTG are usually applied independently. We show that CFG rules and covering-array specifications can be freely intermixed, with precise, intuitive semantics and efficient generation. We present a novel approach for ``tagging'' grammars with specifications for mixed-strength covering arrays, a generalization of conventional covering arrays. We have developed algorithms for test generation and implemented a tool for generating test cases from tagged grammars.\",\"PeriodicalId\":339626,\"journal\":{\"name\":\"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques\",\"volume\":\"97 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-09-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TAICPART.2009.35\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 Testing: Academic and Industrial Conference - Practice and Research Techniques","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TAICPART.2009.35","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

覆盖数组和上下文无关的语法已经在软件测试生成中得到了广泛的应用。覆盖数组算法接受一个域列表,并生成这些域的笛卡尔积的子集。基于语法的测试生成(GBTG)算法以语法G为基础,生成被G接受的语言子集。覆盖数组和GBTG通常是独立应用的。我们证明了CFG规则和覆盖阵列规范可以自由混合,具有精确、直观的语义和高效的生成。我们提出了一种新的方法来“标记”语法与规范的混合强度覆盖数组,传统覆盖数组的推广。我们已经开发了用于测试生成的算法,并实现了一个用于从标记语法生成测试用例的工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Test Generation with Context Free Grammars and Covering Arrays
Covering arrays and context-free grammars have seen extensive use in software test generation. A covering-array algorithm takes a list of domains and generates a subset of the cartesian product of the domains. A grammar-based test generation (GBTG) algorithm takes a grammar G and generates a subset of the language accepted by G. Covering arrays and GBTG are usually applied independently. We show that CFG rules and covering-array specifications can be freely intermixed, with precise, intuitive semantics and efficient generation. We present a novel approach for ``tagging'' grammars with specifications for mixed-strength covering arrays, a generalization of conventional covering arrays. We have developed algorithms for test generation and implemented a tool for generating test cases from tagged grammars.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信