There are several ways to add Junit to your development toolset. It is a matter of usability when it comes to invoking your tests that determines the best method:
Just import Junit and derive your own TestCase from that of Junit.
Write a main method and invoke using run (or CTRL+E in VisualAge v3 ).
The main looks something like this:
public static void main (String[] args) {
junit.textui.TestRunner.run (suite());
}
Put Junit as a Tool, so you can invoke the test using right-click and select Tools...Junit.
Use the IBM VisualAge toolkit to write a helper template to create a TestCase derivative with all the right methods, such as main.
This has already been completed by members of xpdeveloper and XtC and will be released in the next few days (its just been tested on a back port to VA20?). Information on this tool can be found on JUnitCreator -- TimM