Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2024.1

...

Custom rules can be stored in DTP, which enables you to view the custom rule in the test configuration administration page and enable/disable the rule for selected test configurations. The configurations stored in DTP can be ran by connected Parasoft code analysis and test execution tools (C/C++test, dotTEST, Jtest), which ensures coding consistency. Also see Test Configurations.

In this chaptersection:

Table of Contents

Creating Custom Rules

...

  1. Choose Test Configurations from your user profile drop-down settings (gear icon) menu.
      
  2. Click the gear gears icon next to a tool to open the rule map configurations page.

  3. Choose a rule a rule map from the drop-down menu and click the Upload/Download tab.

  4. In the Custom Rule section, click Select Files and browse fro the for the .rule file(s) you want to upload.

    Some rules created in Rule Wizard are complex, so the .rule file may be accompanied by an ext subfolder that contains an extension for the rule. You can compress the .rule file and extension folder into a .zip file and upload it to DTP. The .zip file will be decompressed and stored on the server.

    Info
    titleDownloading Custom Rules

    Click Download All Custom Rules to download any custom rule files associated with the rule map.

  5. Click Upload to finish uploading the .rule(s) so that they can be used by the Parasoft tool.
  6. Click the Rule Customization tab and locate the custom rule to verify that it has been uploaded. You can filter rules by typing in the search field or by enabling the Clones, Modified, or Custom filters. 

    If you added rule documentation when creating the rule, it will also appear.

...