Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click  Parasoft in the menu bar and choose 

    Conditional Contentproduct: (jtest)product: (jtest)sv-attr:0A01020401598D973E6641760F8AF4E50A01020401598D973E671AAA268425A3

    Preferences (Eclipse), Options (NetBeans) or Settings (IntelliJ). Then select Configuration.

  2. Right-click the test configuration you want to duplicate, then choose Duplicate Locally

    The configuration will be added to the User directory and nested in a parent directory matching the source.

  3. Right-click the duplicate configuration and choose Edit to open the Test Configuration Editor in you browser.

    NOTE: The Test Configuration Editor is handled by a separate web server process and may be blocked if a strict firewall is installed on your machine. In such case, allow the process to run when prompted.


    Choosing Edit as text opens a textual representation of the configuration in a simple configuration editor (deprecated).
         

  4. Click a tab to access a group of related test configuration settings. For additional information about test configuration settings, mouse over an information icon ("i") next to a configuration setting. The following tabs are available:
    Table of Contents
    maxLevel2
    minLevel2

...

The Scope tab contains a set of filters that you can configure to define the parts of the code that the test configuration should cover. You must connect the DTP Engine the Jtest  to source control in order to collect scope information. Click Save to preserve any changes you make on this tab.

...

Expand the Time filters settings to set time-based filters at the file or line level. The time filters enable you to restrict the scope of analysis to a specific date range or period. If the scope.scontrol setting is set to true and the source control settings for the DTP Engine for Jtest  are configured, the modification time is set from the source control history. If scope.local is set to true, then the modification time is set form the file system of the machine running the DTP engineanalysis.


You can configure the following settings:

...

Check all files

Default. Enable this option to include all files in the scope of the analysis the user has access to.

Check locally-modified files

Enable this option to check only locally-modified files. Files in the source control system will be excluded. The following DTP Engine setting must be configured for this option to take effect:

scope.scontrol=true

Check files modified within a date rangeEnable this option and specify a date range to include in the scope. Files that were modified or added within the specified range will be checked.
Check files modified witin last n daysEnable this option and specify the number of days to include in the scope. Files that were modified or added within the specified number of days will be checked.
Check files modified between the current branch and the specified branch

Enable this option to specify a range of branches to include in the scope. Files that were modified from the user's current branch to the specified branch will be checked. Files that did not change between branches are excluded. You can enable the following options:

  • Enable the Use default branch option to compare the current branch to the branch that the SCM considers default.
  • Enable the Use custom branch and specify a branch to compare with the current branch.

...

Check all lines

Default. Enable this option to include all lines of code in the scope of the analysis the user has access to.

Check locally-modified lines

Enable this option to check only locally-modified lines of code. Lines of code in the source control system will be excluded. The following DTP Engine setting must be configured for this option to take effect:

scope.scontrol=true

Check lines modified sinceEnable this option and specify a cut-off date to include in the scope. Lines of code that were modified or added within the specified range will be checked.
Check lines modified witin last n daysEnable this option and specify the number of days to include in the scope. Lines of code that were modified or added within the specified number of days will be checked.

...

Expand the Author filters section to limit the scope of analysis to specific authors. If the scope.scontrol setting is set to true and the source control settings of the DTP Engines are configured, then file authorship is taken from the source control system. If the scope.xmlmap is set to true and the XML map settings are configured for the DTP Engines, then files authorship is taken from the map. 

...

Click the Static Analysis tab, and enable or disable the Enable static analysis checkbox to enable/disable static and flow analysis. Click Save to preserve any changes you make on this tab.

...

Image Modified

Advanced Settings

Expand the Advanced Settings section to enable the following options:

...

  • Set an upper limit on the number of violations that can be reported for each rule.
  • Enable/disable suppressions configured on the engine host. Conditional Contentproduct: (jtest)product: (jtest)sv-attr:0A01020401598D973E6641760F8AF4E50A01020401598D973E671AAA268425A3Engine host.
  • Enable the Skip global analysis option to prevent the collection and use of global data

...

Image Modified

Flow Analysis Advanced Settings

...

See Configuring Flow Analysis for details.

...

...

Inversion of Control Framework Settings

Expand the Inversion of Control Framework Settings section to specify annotations used for injecting/initialization values during runtime. Enter a comma-separated list of fully qualified names to use as annotations.

Image Modified


Static Analysis - Rules Tab

Click the Static Analysis - Rules tab to enable/disable the static analysis rules the configuration uses. This page shows all the supported rules supported by the DTP Engine. Click Save to preserve any changes you make on this tab.

...

Enable the Show Enabled Only option to only show the enabled rules.

Anchor
Viewing Rule Mapping
Viewing Rule Mapping
Viewing Rule Mapping

The Local Rule Map Applied field displays the path to the folder that contains the rule mapping file. The rulemap.xml file available in the displayed location is applied to all local test configurations (see Specifying the Custom Rule and Mapping Directory for details).

...

  1. Click  Parasoft in the menu bar and choose 

    Conditional Contentproduct: (jtest)product: (jtest)sv-attr:0A01020401598D973E6641760F8AF4E50A01020401598D973E671AAA268425A3

    Preferences (Eclipse), Options (NetBeans) or Settings (IntelliJ).

     Then select Configuration.

  2. Right-click the Built-in or User test configuration you want to duplicate, then choose Duplicate on DTP.

    The configuration will be added to the DTP directory and uploaded to the DTP server (see Connecting to DTP Server との接続

  3. Right-click the duplicate configuration and choose Edit.

    If you are not logged in DTP, the DTP login page will open in a browser. Provide your credentials to log in.
    The Test Configuration page in DTP will open. 

  4. Open the list of test configurations. The duplicated test configuration will be available in the configurations lists.

     
  5. Click the duplicated test configuration to open the configuration interface. See the DTP documentation for details about how to customize test configurations on DTP.

...