Create and manage test assignment rules

DevOps admin permissions are required.

ALM Octane collects automated tests and tests results from automation servers or other sources. Associate these tests with ALM Octane users and application modules so you can view the test results in context. This enables you to analyze the progress and quality of your release and product.

You can create rules that automatically assign automated tests to application modules and/or test owners using filter conditions.

You can also edit, sort, filter, group, delete, and export rules, similar to other entities in ALM Octane grids.

Create test assignment rules

  1. In Settings , click Workspaces and select a workspace.

  2. Click the DevOps tab. On the left side of the pane, select Test Assignment Rules.

  3. Click + to add a rule.

  4. Give the rule a meaningful name.

    Example:  

    EndToEndTests

  5. Select the application modules to which you want to assign automated tests.

  6. Select a Test owner to assign to the tests.

    Note: You can use each rule to assign tests to application modules, a test owner, or both.

  7. 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.

    Example:  

    • 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.

  8. Select whether the rule should assign application modules and/or a test owner even if those fields already have values, or only if they are empty.

    Note: Once you create the rule, this option is represented by the Update all column in the Rule grid.

  9. 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.

Back to top

Run test assignment rules

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.

Back to top

See also: