|
The type-specific collections library comes with a full set of
JUnit test programs. These are found in
the If you build your own type-specific collections based on the library code it's very easy to copy an existing test case and modify that for the new type. The test cases generally use a pair of methods for handling much of the data generation and validation work, so modifying these methods takes care of most of the type-specific operation of the test. These methods are Once you've built the test case for your new type, just add it to the list
of test case class names in the suite for that package. It will then automatically
be executed every time you run the master test case
|