Online Helps > Rule Scenario Manager Console > Tests > Overview

Each test consists of an extractor that compares via a logical operator a specified test value to a calculated value extracted from the ruleset execution results. For example:

images/testExample1.png

In this test, List of tasks executed extracts the names of the tasks executed from the ruleset execution result and checks to see if both the loanvalidation#initResult and loanvalidation#eligibility tasks are included in the given order with the contains and matches order operator. The test passes if both task names are contained in the list of all tasks executed in the order in which they were entered, otherwise it fails. In our example, it passes:

images/testExample2.png

Tests can indicate if a ruleset has performed as expected. Sets of tests are independent of scenarios, allowing them to be shared between different scenarios.

In place of explicit test values, you can specify a baseline report in a test set definition that acts as a reference in tests. The values contained in this scenario report resulting from an earlier scenario execution can be applied as the test values in tests in other scenarios.

See Also

Tests | Scenarios | Viewing Test Sets in the Test Set Selector | Working with Test Sets | Working with Tests | Test Extractors and Operators