Create and manage test assignment rules
Test assignment rules automatically assign automated tests to application modules and test owners using filter conditions. This enables ALM Octane to incorporate automated test run results it collects from automation servers or other sources into the product quality analysis.
This topic describes managing test assignment rules from the ALM Octane settings area. DevOps admin permissions are required.
For details on managing test assignment rules from the Tests tab, see Create rules to assign automated tests.
Each rule can assign tests to application modules, a test owner, or both.
In Settings , click Spaces and select a workspace.
Click the DevOps tab. On the left side of the pane, select Test Assignment Rules.
Click + to add a rule.
Give the rule a meaningful name. For example,
Select the application modules to which you want to assign automated tests.
Select a test owner to assign to the tests.
Click Add filter to add conditions based on the values of the following fields: Class name, Component, Name, and Package.
Filters can be multipart and complex and can include '
*' as a wildcard. If necessary, click the Add filter button multiple times to add multiple items to the filter.
- Name is equal to EndtoEnd*
- Component is not equal to *Internal
All conditions must be met for the rule to assign the selected values to an automated test.
Select whether the rule should assign application modules and a test owner even if those fields already have values, or only if they are empty.
As you edit the rule, you can see how many currently existing tests will be modified once you save the rule.
Click Save. The rule affects all current and future tests that match the filter. This includes tests currently in the system, as well as new automated tests detected in pipelines in the future.
Test assignment rules run automatically:
When a rule is saved.
Each time a new automated test is discovered.
Note: You cannot run a rule manually.
You can edit, sort, filter, group, delete, and export rules, similar to other entities in ALM Octane grids.
When trying to understand why some tests are not properly being assigned, group or sort the rules according to the properties in the rule's filter. Then compare the properties in the rules to the properties of the test.