Back to Search
Start Over
Two case studies in grammar-based test generation
- Source :
- Journal of Systems and Software. 83:2369-2378
- Publication Year :
- 2010
- Publisher :
- Elsevier BV, 2010.
-
Abstract
- Grammar-based test generation (GBTG) has seen extensive study and practical use since the 1970s. GBTG was introduced to generate source code for testing compilers from context-free grammars specifying language syntax. More recently, GBTG has been applied to many other testing problems, including the generation of eXtensible Markup Language (XML) documents and the generation of packets for testing communications protocols. Recent research has shown how to integrate covering-array techniques such as pairwise testing into GBTG tools. While the integration offers considerable power to the tester, there are few practical demonstrations in the literature. We present two case studies showing how to use grammars and covering arrays for automated software testing. The first case study exposes HTML injection vulnerabilities in an RSS feed parser. The second case study determines the effectiveness of network firewalls when faced with TCP flag attacks. The case studies illustrate the use of covering arrays in a GBTG context, the use of visualization to understand large test logs, and the issues and tradeoffs in the design of fully automated GBTG test suites.
- Subjects :
- Parsing
Source code
RuleML
Syntax (programming languages)
Programming language
computer.internet_protocol
Computer science
business.industry
media_common.quotation_subject
computer.file_format
computer.software_genre
Hardware and Architecture
All-pairs testing
Code injection
Compiler
SGML
Software engineering
business
computer
Software
XML
Information Systems
media_common
Subjects
Details
- ISSN :
- 01641212
- Volume :
- 83
- Database :
- OpenAIRE
- Journal :
- Journal of Systems and Software
- Accession number :
- edsair.doi...........381ea8a51db963541ea49c6c0fba6f0a
- Full Text :
- https://doi.org/10.1016/j.jss.2010.07.048