Rate This Document
Findability
Accuracy
Completeness
Readability

Tool Settings

To set UTgen parameters, perform the operations described in this section.

Prerequisites

You have installed UTgen.

Procedure

  1. In the upper left corner of the IntelliJ tool screen, choose File > Settings. The Settings page is displayed.
    Figure 1 Settings
  2. In the navigation tree on the left, choose Tools > UTgen. The UTgen setting page is displayed on the right.
    Figure 2 UTgen settings
  3. Set UTgen parameters based on your requirements and click OK. Table 1 describes the parameters.
    Table 1 UTgen tool parameters

    Parameter

    Description

    Tests with exceptions

    When the tested method generates a runtime exception, the test should pass or fail.

    • Pass
    • Fail

    Logger level

    It indicates the importance of a log.

    • Info: The log records the key information when test cases are being generated.
    • Debug: The log records debugging information for developers or maintenance personnel to locate faults.
    • Trace: The log records the most detailed log information for developers to locate problems and tune performance.
    NOTE:

    Log file path: C:\Users\User_name\AppData\Local\Temp\UTgen\rdEngineProcessLogs