Generating String Test Data for Code Coverage
Authors:
- Michael BeyeneMBMichael Beyene
- James H. AndrewsJAJames H. Andrews
- 1 April 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21594848,p. 270-279
Abstract
String data has traditionally been difficult for test data generation tools to generate. Of particular concern are strings that conform to a given grammar, since coverage of grammar productions does not guarantee high code coverage or fault-finding ability. We address this problem by deriving Java classes from the grammatical categories in the grammar, and then using a collection of deterministic and met heuristic techniques to generate strings from them. We compare the code coverage of these techniques and the standard conformance test suites for the grammars. We conclude that the various techniques have complementary strengths, and that they can be usefully used in combination.Keywords
This publication has 18 references indexed in Scilit:
- Recomputing Coverage Information to Assist Regression TestingIEEE Transactions on Software Engineering, 2009
- Nighthawk2007
- Feedback-Directed Random Test Generation29th International Conference on Software Engineering (ICSE'07), 2007
- Randomized Differential Testing as a Prelude to Formal Verification29th International Conference on Software Engineering (ICSE'07), 2007
- An empirical study of the strength of information flows in programs2006
- An analysis of rule coverage as a criterion in generating minimal test suites for grammar-based software2005
- Tree-Based Methods for Classifying Software Failures2005
- Simplifying and isolating failure-inducing inputIEEE Transactions on Software Engineering, 2002
- The ASTOOT approach to testing object-oriented programsACM Transactions on Software Engineering and Methodology, 1994
- An empirical study of the reliability of UNIX utilitiesCommunications of the ACM, 1990