Product Information > JADE Developer’s Reference > Chapter 17 - Using the JADE Testing Framework > Using the Unit Test Runner Form

Using the Unit Test Runner Form

You can run unit tests by selecting the Unit Test command from the Jade menu in the JADE development environment. For details, see "Running a Unit Test", in Chapter 4 of the JADE Development Environment User’s Guide.

The Unit Test Runner form is then displayed, with unit test classes for the current schema and superschemas listed in the Select test classes list box.

The Unit Test Runner form can also be displayed from code, as shown in the following example.

vars
    dlg : JadeTestDialog;
begin
    create dlg;
    dlg.show;
end;

Select the class or classes whose unit test methods are to be executed and then click the Run button.

The results of the tests are displayed in the Results pane, as shown the following diagram.

To run tests from the Unit Test Runner form, select the class or test in the Select Tests pane and then click the Run button.

To copy the unit test results to the clipboard, right-click in the Results pane.