A framework for table driven testing of Java classes

Daley, N., Hoffman, D. and Strooper, P. (2002) A framework for table driven testing of Java classes. Software: Practice & Experience, 32 5: 465-493.


Author Daley, N.
Hoffman, D.
Strooper, P.
Title A framework for table driven testing of Java classes
Journal name Software: Practice & Experience   Check publisher's open access policy
ISSN 0038-0644
Publication date 2002
Sub-type Article (original research)
DOI 10.1002/spe.452
Volume 32
Issue 5
Start page 465
End page 493
Total pages 29
Editor D. Comer
Place of publication The United Kingdom
Publisher John Wiley and Sons
Collection year 2002
Language eng
Subject C1
280302 Software Engineering
700199 Computer software and services not elsewhere classified
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. Copyright (C) 2002 John Wiley Sons, Ltd.
Keyword Computer Science, Software Engineering
Java
Automated Class Testing
Unit Testing
Software
Q-Index Code C1

Document type: Journal Article
Sub-type: Article (original research)
Collections: Excellence in Research Australia (ERA) - Collection
School of Information Technology and Electrical Engineering Publications
 
Versions
Version Filter Type
Citation counts: TR Web of Science Citation Count  Cited 9 times in Thomson Reuters Web of Science Article | Citations
Google Scholar Search Google Scholar
Access Statistics: 110 Abstract Views  -  Detailed Statistics
Created: Tue, 14 Aug 2007, 18:01:04 EST