Testing rules in the Declarative Network Viewer
Reduce the number of processing errors by testing calculated properties in the Declarative Network Viewer.
By determining the value of a property automatically (declaratively), you reduce the number of manual calculations required and improve system efficiency. The viewer is a tool that displays the relationship between declarative properties based on changes to other property values. You can also use the viewer to test whether the properties calculate correctly, and set up tests for future use.- In the navigation pane of Dev Studio, click Records.
- Expand the Decision category, and then click Declare Expression.
- In the list, select the declare expression that you want to test.
- In the declare expression, click .
- In the Test Page section, select the context to use for the test:
- In the Data Context list, click the thread in which you want to run the rule.
- Optional: To discard all previous test results and start from a blank test page, click Reset Page.
- In the section with the declare expression that you want to test, define the value of the properties that the system uses to calculate the declarative property:
- Optional: To save the settings as a test scenario, click Convert to test,
and then complete the New tab.For more information, see Viewing test coverage reports.
Previous topic Viewing the declarative network Next topic Declare OnChange rules