DocumentCode
3146201
Title
A Systematic Framework for Grammar Testing
Author
Zheng, Lixiao ; Chen, Haiming
fYear
2009
fDate
1-3 June 2009
Firstpage
1013
Lastpage
1019
Abstract
Grammars, especially context-free grammars, are widely used within and even outside the field of computer science. In this paper, we present a systematic framework for grammar testing, in which some commonly used techniques for testing programs such as module testing and integration testing are adapted and applied to the testing of grammars. We propose a nonterminal-based approach for grammar modularization, combined with an iterative process for grammar testing in which a grammar is tested with respect to both a generator and a recognizer. Experiments on grammars for some non-trivial programming languages such as C and Java demonstrate the feasibility and efficiency of the testing framework and the proposed approaches.
Keywords
C language; Java; context-free grammars; iterative methods; program testing; programming languages; C languge; Java; computer science; context-free grammars; grammar modularization; grammar testing; integration testing; iterative process; module testing; nontrivial programming languages; systematic framework; testing programs; Acoustical engineering; Application software; Computer crime; Computer languages; Computer science; Java; Production; Software testing; System testing; Terminology;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer and Information Science, 2009. ICIS 2009. Eighth IEEE/ACIS International Conference on
Conference_Location
Shanghai
Print_ISBN
978-0-7695-3641-5
Type
conf
DOI
10.1109/ICIS.2009.193
Filename
5223231
Link To Document