- Click the Definition tab.
- To add multiple input values and results to the assertion, or add other assertions,
perform one of the following actions:
Note: You can add multiple input values and results to this assertion but cannot add other assertion types to this test case. You can add other assertion types to this test case only if you have a single input and result entry for the assertion.
- To add multiple input values and results to the assertion:
- Select the Multiple input combinations check box.
- Enter values for the input and result that you expect the assertion to generate when the test stops running.
- Click Add and enter values for each additional input and result that you want to test.
- To use one input value and result, enter the values that you expect the assertion to generate when the test stops running. You can then add additional assertions to the test case.
- To update the assertion to reflect properties that were added to the rule, click
Note: Refresh updates the assertion with properties that are added to the rule. If properties have been removed from the rule, then you need to manually remove the properties from the assertion.
- Add or remove properties by clicking Manage properties and then
entering the changes. You need to enter data for properties that were added to the rule.
Result: The properties are reflected as unexpected results in test case results.
- In the rule form, click Save.
The test case runs the decision tree or decision table with each input combination and compares the result with the expected decision result for that combination.
Other decision result combinations or other configured assertions then run. If the expected result of any of the input combinations in the decision result assertion does not match the result that the rule returns, the assertion fails.