𝔖 Bobbio Scriptorium
✦   LIBER   ✦

ClassBench: a Framework for Automated Class Testing

✍ Scribed by DANIEL HOFFMAN; PAUL STROOPER


Publisher
John Wiley and Sons
Year
1997
Tongue
English
Weight
183 KB
Volume
27
Category
Article
ISSN
0038-0644

No coin nor oath required. For personal study only.

✦ Synopsis


In contrast to the explosion of activity in object-oriented design and programming, little attention has been given to object testing. We present a novel approach to automated testing designed especially for collection classes. In the ClassBench methodology, a testgraph partially models the states and transitions of the Class-Under-Test (CUT) state/transition graph. To determine the expected behavior for the test cases generated from the testgraph, the tester develops an oracle class, providing essentially the same operations as the CUT but supporting only the testgraph states and transitions. Surprisingly thorough testing is achievable with simple testgraphs and oracles. The ClassBench framework supports the tester by providing a testgraph editor, automated testgraph traversal, and a variety of utility classes. Test suites can be easily configured for regression testing-where many test cases are run-and debugging-where a few test cases are selected to isolate the bug. We present the ClassBench methodology and framework in detail, illustrated on both simple examples and on test suites from commercial collection class libraries. Β©1997 John Wiley & Sons, Ltd.


πŸ“œ SIMILAR VOLUMES


Open video: A framework for a test colle
✍ Laura Slaughter; Gary Marchionini; Gary Geisler πŸ“‚ Article πŸ“… 2000 πŸ› Elsevier Science 🌐 English βš– 141 KB

The future will bring widespread access to large digital libraries of video. Consequently, a great deal of research is focused on methods of browsing and retrieving digital video. This type of work requires that investigators acquire and digitize video for their studies since the video information r

Automating a class a evaporation pan for
✍ G. Asrar; R.J. Kunze; D.E. Linvill πŸ“‚ Article πŸ“… 1981 πŸ› Elsevier Science βš– 329 KB

Continuous monitoring of water loss from an evaporation pan was automated by using a system of 16 general-purpose Constantan wire-resistance strain gages mounted on four supporting arms. A change in pan weight from water loss proportionally changed the electrical resistance of the wire gages. The sy

A framework for testing meso-mediational
✍ John E. Mathieu; Scott R. Taylor πŸ“‚ Article πŸ“… 2007 πŸ› John Wiley and Sons 🌐 English βš– 339 KB

## Abstract We advance a framework for testing mediational relationships that traverse levels of analysis. We differentiate mediation that functions within levels, as well as different forms of meso‐mediation that operate downward across levels of analysis. We discuss the preconditions and evidenti