Back Forward Unit Test Suite form
Completing the Contents tab

About Unit Test Suite rules

Use the Contents tab to define the unit test suite. Specify the access group for the agent to use when it runs the suite and select the test cases that are included.

Field

Description

RuleSets for Test Cases

Specify the RuleSet(s) that hold the test cases you want to include in this test suite.

User ID for Agent Processing

Specify the operator ID the agent is to use when it runs this test suite. The access group must give the agent access to the RuleSet that this test suite belongs to as well as the RuleSets listed in the RuleSets field.

Remove Test Work Objects?

Check to delete all work objects created during the test case execution.

Application Test Cases to Include Use the fields in this section to select the test cases by application name and version.
Application Name SmartPrompt Specify the application whose test cases you want to include in the test suite.
Application Version SmartPromptSpecify the application whose test cases you want to include in the test suite.
Rule Types to Include

Use the fields in this section to select the test cases by rule type. You can specify that all the test cases for all rules of a specific type are included, or you can constrain the list with a When condition rule.

Rule Type

Specify the rule type of the rules whose test cases you want to include (decision table, decision tree, flow, or SOAP service).

When filter

SmartPromptDo one of the following:

  • Leave blank to include all the test cases that were created for rules of the type specified in the Rule Type field.
  • Select the appropriate when condition rule to constrain the list. The test cases for the rules identified by the when condition rule are included in the test suite.
Query Test Cases to Include

Use the fields in this section to select test case rules. Be sure to list the test cases in the order in which you want them to be run.

Test Case Name

Enter a search string for the test case you want to find.

Query

Click to list test cases that match the query string in the Test Case Name field. The resulting list includes all test cases that match the search string; the list is not limited by RuleSet. Select the test cases you want and then click OK.

Test Case Key

The name of a test case, that is, the three-part key to the rule.

Description

The Short Description of the test case.

RuleSet

The RuleSet the test case belongs to. Verify that this RuleSet is included in the RuleSets for Test Cases list at the top of this form. If the RuleSet is not in the list, add it now. Otherwise, the test case rule does not run when the test suite runs.

If you configure selections in both the Rule Types section and the Query Test Cases section, note that the test cases defined in the Rule Types section run before the test cases in the Query Test Cases section when the test suite runs.

zzz About Unit Test Suite rules