Title
A framework for table driven testing of Java classes
Abstract
With the advent of object-oriented languages and the portability of Java, the development and use of class libraries has become widespread. Effective class reuse depends on class reliability which in turn depends on thorough testing. This paper describes a class testing approach based on modeling each test case with a tuple and then generating large numbers of tuples to thoroughly cover an input space with many interesting combinations of values. The testing approach is supported by the Roast framework for the testing of Java classes. Roast provides automated tuple generation based on boundary values, unit operations that support driver standardization, and test case templates used for code generation. Roast produces thorough, compact test drivers with low development and maintenance cost. The framework and tool support are illustrated on a number of non-trivial classes, including a graphical user interface policy manager. Quantitative results are presented to substantiate the practicality and effectiveness of the approach.
Year
DOI
Venue
2002
10.1002/spe.452
Softw., Pract. Exper.
Keywords
DocType
Volume
effective class reuse,class library,Java class,non-trivial class,compact test driver,thorough testing,testing approach,class reliability,class testing approach,test case
Journal
32
Issue
ISSN
Citations 
5
0038-0644
14
PageRank 
References 
Authors
0.92
22
3
Name
Order
Citations
PageRank
Nigel Daley1433.10
Daniel Hoffman230926.89
Paul Strooper370168.70