Running the Enhanced Test Under Code Coverage

We'll rerun the enhanced test under Code Coverage again.
  1. In the Micro Focus Unit Testing window, click Run with Code Coverage.

    The MFUT_TESTAIRCODE test case is rerun and on completion code coverage statistics are displayed in the Micro Focus Code Coverage window.

    You will see that code coverage for Section: distance-between-airports is now 100%.

  2. Double-click Section: distance-between-airports.

    The cursor is positioned in the source code at the distance-between-airports section, and you will notice that it is no longer colorized (according to your editor preferences) to indicate that it was not executed.

    This concludes the tutorial.