A framework for table driven testing of Java classes


Autoria(s): Daley, N.; Hoffman, D.; Strooper, P.
Contribuinte(s)

D. Comer

Data(s)

01/01/2002

Resumo

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.

Identificador

http://espace.library.uq.edu.au/view/UQ:62654

Idioma(s)

eng

Publicador

John Wiley and Sons

Palavras-Chave #Computer Science, Software Engineering #Java #Automated Class Testing #Unit Testing #Software #C1 #280302 Software Engineering #700199 Computer software and services not elsewhere classified
Tipo

Journal Article