Running the Test

There are a number of ways that you can run the test; other ways will be demonstrated later in this tutorial.

  1. With TestAIRCODE.cbl open in the editor, right-click and select Run Test(s).

    The project is compiled and the test case is executed.

  2. To view the outcome of the test run, click the Micro Focus Unit Testing tab in the bottom pane.

    The Micro Focus Unit Testing window displays the status of the test run.

  3. Expand the TestAirportLinkLibrary and TestAIRCODE.cbl nodes to display the test case (TESTAIRCODE):

    GUID-B3A31ED9-4844-48EF-B558-90D13513F85C-low.png

    The icon displayed next to TESTAIRCODE indicates that the test case has passed.

  4. Select the test case to display the output in the right-hand pane.

    GUID-72909095-CDA9-479E-AAA5-DAEC9FBA7C4D-low.png

    This test case currently does not contain any meaningful test code or output, and so unsurprisingly, it passes; later in the tutorial, we will add more meaningful code and output messages.