Jtest logo




Contents  Previous  Next  Index

How to Save and Enable a Rule


In order to enforce a rule, you must save it. To save your rule, choose Rule> Save or Rule> Save As. This command will invoke a file chooser in which you can specify the rule's filename and path. A .rule extension is automatically assigned to each rule. If you do not use this exact extension, Jtest will not load your rules properly.

After you have saved your rule(s), you can exit RuleWizard.

To enable your rule:

  1. Click Global in either of Jtest's UIs.
  2. In the Global Test Parameters window, go to Static Analysis> Rules> User Defined Rules, then right-click User Defined Rules. A shortcut menu will open.
  3. Choose Reload Rules from the shortcut menu that opens.

Your rule will then be enabled; it will be contained in in the Static Analysis> Rules> User Defined branch of the Global Test Parameters tree.


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft