You can unit test declare expression rules with manual inputs if all properties in the computation are
Single Value
properties and belong to one Applies To class.
-
Save the Declare Expression rule form.
-
Select .
-
From the Data Context list, select the context in which to run
the test.
-
Click a property on the declarative network.
-
In the Property section in the lower right corner of the window,
specify a value for the property, and then click Update.
-
Repeat steps 4 and 5 to reevaluate the expression output given to your different input
values.
Each time an input property is changed, the expression is automatically
reevaluated.
-
If the unit test of the Declare Expression rule requires creating an input that is part
of an embedded
Page List
or Page Group
property, create
a new page by performing the following actions:
-
Select the Add new page check box.
-
For a
Page Group
, enter an identifier as a subscript value.
For a Page List
, the system appends the new page after existing
pages.
-
From the Class list, select the class of the page.
-
Click Update.
You can also add inputs to Value List
or Value Group
properties.