Back to Search Start Over

Test Generation with Context Free Grammars and Covering Arrays

Authors :
Brett Stevens
Lewis Sobotkiewicz
Hong-Yi Wang
Gary Bazdell
Paul Strooper
Daniel Hoffman
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.

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