arrow
Return

Two case studies in grammar-based test generation

delete2010-12-01
delete3
PRE
AI
D
Daniel Hoffman
H
Hongyi Wang
M
Mitch Chang
D
David Ly‐Gagnon
L
Lewis Sobotkiewicz
P
Paul Strooper *
DOI:10.1016/j.jss.2010.07.048delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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. (C) 2010 Elsevier Inc. All rights reserved.
Keywords:
Automated testing
Grammar-based test generation
Covering array
Really Simple Syndication (RSS)
eXtended Markup Language (XML)
TCP
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

U
University of Victoria
Scholars:
1.0W
Papers: 1.0W
Citations: 1.5W
U
University of Queensland
Scholars:
5.0W
Papers: 5.1W
Citations: 9.2W