JUnitX Example - Step 4

Since there are usually several classes containing test methods, it is useful to define a class TestPackage. Such a class should implement the marker interface junitx.framework.TestPackage. Important is it's suite method composing a suite of test case classes. The addTestSuite method allows to add test classes using their full class name to the suite.

Continue with step 5 . . .

© 2001 A. Heilwagen