Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2022.1
Info

The Team Server features and functionality described on this page have been deprecated.

This topic explains how to check custom requirements or tailor existing rules to your unique needs by either modifying built-in static analysis rules or by creating your own static analysis rules.
Sections include:

...

The RuleWizard GUI will then open. The RuleWizard User's Guide (accessible by choosing Help> Documentation in the RuleWizard GUI) contains information on how to modify and save custom rules. Be sure to save the rule after you modify it, then enable it as described in the Configuring Test Configurations and Rules for Policies or Using Custom Rules (For Teams Not Using Team Server) (if you will not be sharing custom rules with the deprecated Team Server).

This procedure is the same across Parasoft Test family products. For details, see the Configuring Test Configurations and Rules for Policies.

...

Before you can check custom rules, you must configure SOAtest to import and check them. For details on how to configure SOAtest to recognize and check those rules, see the Configuring Test Configurations and Rules for Policies or Using Custom Rules (For Teams Not Using Team Server) (if you will not be sharing custom rules with the deprecated Team Server).

Note
titleNote on Rule IDs

 Each rule that you import into the tool must have a unique rule ID. You should not import multiple rules that have the same rule ID.

...

See the Configuring Test Configurations and Rules for Policies. Note that Team Server is deprecated.

Using Custom Rules (For Teams Not Using Team ServerTeam Server)
Anchor
Using Custom Rules For Teams Using Team Server
Using Custom Rules For Teams Using Team Server

...

Note
titleNote

The following procedure describes how to enable custom rules if you are not using the deprecated Parasoft Team Server to share rules across the team. If you are using the deprecated Team Server, follow the instructions in the Configuring Test Configurations and Rules for Policies.

To configure SOAtest to import and check custom rules if you are not using the deprecated Team Server:

  1. Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Parasoft> Test Configurations in the drop-down menu on the Test Using toolbar button.
  2. Select any Test Configurations category. The new rule(s) will be available in all available Test Configurations.
  3. Open the Static> Rules Tree tab.
  4. If any new rules should belong to a new category, create a new category as follows:
    1. Click the Edit Rulemap.button.
    2. Open the Categories tab.
    3. Click New. A new entry will be added to the category table.
    4. Enter a category ID and category description in the new entry. For instance, an organi-zation might choose to use ACME as the category ID and ACME INTERNAL RULES as the description.
    5. Click OK to save the new category.
  5. Click the Import button to the right of the rules tree. The Import RuleWizard rule dialog will open.
  6. Use the Import RuleWizard rule dialog to specify which rule(s) you want to import, and whether you want to overwrite existing rule files (if an imported rule file has the same name as an existing rule file).
  7. Click OK. The rule will be displayed under the assigned category and will be disabled by default.
  8. Enable the new rule(s) you want checked.
  9. Click either Apply or Close to commit the modified settings.