Back to Search
Start Over
Test Generation with Context Free Grammars and Covering Arrays
- Source :
- 2009 Testing: Academic and Industrial Conference - Practice and Research Techniques.
- Publication Year :
- 2009
- Publisher :
- IEEE, 2009.
-
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.
- Subjects :
- Theoretical computer science
Grammar
Programming language
Computer science
Semantics (computer science)
business.industry
media_common.quotation_subject
Context-free grammar
Cartesian product
computer.software_genre
symbols.namesake
Test case
Software
Rule-based machine translation
symbols
L-attributed grammar
business
computer
media_common
Subjects
Details
- Database :
- OpenAIRE
- Journal :
- 2009 Testing: Academic and Industrial Conference - Practice and Research Techniques
- Accession number :
- edsair.doi...........db3f3b96cac622100a7a9bacd29f9fc0
- Full Text :
- https://doi.org/10.1109/taicpart.2009.35