| Online Helps > Rule Scenario Manager Console > Tests > Working with Test Sets |
Working with Test Sets |
PREVIOUS NEXT |
Tests are organized into test sets in the Console. Sets of tests are saved in the database, and you can retrieve them for use in other scenarios, editing them if necessary.
In the Scenario Builder for each scenario, you can see at a glance the currently selected test set, or that none has yet been selected:
By clicking on the Select/Change Test Set button, you can view all available test sets in a table:
The currently selected test set is indicated by an arrow preceding the test set name.
| Note |
| Test sets that have been assigned to existing scenarios cannot be deleted. This is indicated by an inactive Delete button in the table. |
From the Test Set Selector, you can perform or start the following actions:
For information on defining the tests in test sets, see Working with Tests.
The Console returns to the Scenario Builder, now displaying the selected test set in the Selected Test Set box.
To use the rule picker and task picker while defining tests, you must have already applied the test set to a scenario. The rule/task pickers allow you to select quickly the available rules and tasks in tests such as List of rules fired and List of tasks executed. See The action icons available in the Test Value field for more information.
| Tip |
| You can click Save at any time during the test set creation to save the definition up to that point, without applying the test set to the scenario or returning to the Scenario Builder. |
To perform non-regression testing, you can specify an existing scenario report to be used as the reference in tests of another scenario. The values contained in this baseline report can be used as test values in the new scenario's tests.
You specify a baseline report in a test set definition. Click the Baseline report field, and in the drop-down list that appears, select the report to act as the reference in tests:
The Test Sets table changes to include a new Ref column of checkboxes, which you check on in the rows of tests that you want to reference the baseline report.
When the Ref option is checked on, the Test Value field is filled in with the execution data from the referenced report. The data is inactive, however, as the test value is retrieved from the reference and is therefore read-only.
| Tip |
| You can access the editing page of a scenario's selected test set by clicking its name in the Scenario Builder. |
The imported test set is included in the Test Set Selector, and is now available for inclusion in scenarios. Note that imported test sets are organized into the current Working Folder.
If a test set is no longer required, you can remove it from the Rule Scenario Manager database.
| Note |
| You cannot delete a test set that has been selected in an existing scenario. This is indicated by an inactive Delete button and checkbox in the Test Set Selector. |
To delete a test set:
To delete multiple test sets, click their checkboxes in the left column of the Test Set Selector table, and click Delete Selected Items.
Tests | Scenarios | Overview | Viewing Test Sets in the Test Set Selector | Working with Tests | Test Extractors and Operators
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |