This topic explains how you can create new rule categories, as well as modify rule categories, rule IDs, names, and severity levels using rule mappings. This is especially helpful if you want to configure SOAtest to enforce your team’s or organization’s coding policy (for example, by customizing the built-in rule names, severities, and categories to match the ones defined in your policy).

Sections include:

Specifying Rule Mappings

To specify rule mappings:

  1. Open the Test Configurations dialog by going to Parasoft > Test Configurations.
  2. Select any Test Configurations category.
  3. Open the Static > Rules Tree tab.
  4. Click Edit Rulemap.
  5. Enter your rule mapping in the Edit Rulemap File dialog that opens.

After you enter rule mappings in the SOAtest UI, they are saved in a simple text file named rulemap.xml in your SOAtest installation directory.

Sharing Rule Mappings

You can share rule mappings by exporting/importing them.

To export rule mappings:

  1. Open the Rulemap dialog by clicking Edit Rulemap in the Static > Rule Tree tab of the Test Configuration panel.
  2. Click Export and choose where you want to save the rulemap file.

To import a rule mappings:

  1. Open the Rulemap dialog by clicking Edit Rulemap in the Static > Rule Tree tab of the Test Configuration panel.
  2. Click Import and choose the appropriate rulemap file.