Setting Preferences for Application Testing

This section describes how to set preferences for the supplied test function. The following topics are covered:


Showing the Preferences for Application Testing

The preferences for Application Testing are set in the Preferences dialog box of Eclipse.

Start of instruction setTo show the preferences for Application Testing

  1. From the Window menu, choose Preferences.

  2. In the tree of the resulting dialog box, expand the Software AG node and then select the Testing node.

    The Testing page is displayed.

    graphics/unit-test-preferences.png

Set Logging Preferences for Unit Tests

Start of instruction setTo set logging preferences

  1. Display the Testing page as described above.

  2. Select Log unit tests.

    Unit test log files will be created automatically each time a unit test is executed. The log files are stored in the Testing-History folder within the NaturalONE project in which the unit test was executed and include a .tstlog file extension. For example:

    graphics/test-history-node.png

    Note:
    If this option is not selected, the log files will not be created.

  3. Select OK to save the preferences.

Set Server Synchronization Preferences

When testing a subprogram, a message may be displayed indicating that a local resource has not been uploaded to the server and synchronized with the server resource. You can set preferences for this option.

Start of instruction setTo set server synchronization preferences

  1. Display the Testing page as described above.

  2. Select one of the options listed in Upload resource(s) when they are not in sync with server.

    These options are:

    Option Description
    Always Resource(s) are always uploaded to the server when not in sync.
    Never Resource(s) are never uploaded to the server when not in sync.
    Prompt A window is displayed to select an option.
  3. Select OK to save the preferences.