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 | ||
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
|
...
Note | ||
---|---|---|
| ||
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:
- 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.
- Select any Test Configurations category. The new rule(s) will be available in all available Test Configurations.
- Open the Static> Rules Tree tab.
- If any new rules should belong to a new category, create a new category as follows:
- Click the Edit Rulemap.button.
- Open the Categories tab.
- Click New. A new entry will be added to the category table.
- 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.
- Click OK to save the new category.
- Click the Import button to the right of the rules tree. The Import RuleWizard rule dialog will open.
- 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).
- Click OK. The rule will be displayed under the assigned category and will be disabled by default.
- Enable the new rule(s) you want checked.
- Click either Apply or Close to commit the modified settings.