Package diva.util.jester

A small package for writing test suites for Java classes.

See:
          Description

Class Summary
EventPlayer EventPlayer uses the java.awt.robot API to inject streams of events into a component.
EventRecorder EventRecorder listens to all of the mouse and keyboard events on a given component and records these into a sequence which can then be played back using an EventPlayer object.
TestCase An abstract superclass for all test cases.
TestHarness A test harness.
TestSuite The abstract superclass of test suites.
TestUtilities Utility functions to make tests easier to write.
 

Exception Summary
TestFailedException An exception that is thrown when a test produces an incorrect result.
 

Package diva.util.jester Description

A small package for writing test suites for Java classes. This package is designed to make it easy to write unit test suites and test suites for object collaborations. In particular, it encourages the use of factory classes for creating objects-under-test. Consistent use of factories:

  1. Enables test suites for abstract classes and interfaces to be written.
  2. Enables tests to be run over instances of a subtree of classes, provided that classes conform to the "inheritance is extension" principle of OO design.
Complete documentation and tutorial examples are on the Jester pages in the Diva documentation tree.