Publication | Closed Access
A framework for table driven testing of Java classes
19
Citations
23
References
2002
Year
Software MaintenanceEngineeringObject-oriented ModelingSoftware SystemsTest Data GenerationSoftware EngineeringObject OrientationSoftware AnalysisFormal VerificationModel-based TestingTable Driven TestingTest OracleTest AutomationProgramming LanguagesClass LibrariesComputer EngineeringComputer ScienceClass ReliabilityAutomated ReasoningProgram AnalysisSoftware TestingFormal MethodsObject-oriented ProgrammingRoast Framework
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 © 2002 John Wiley & Sons, Ltd.
| Year | Citations | |
|---|---|---|
Page 1
Page 1