Unit testing a Parse Delimited rule
You can test a Parse Delimited rule directly, separate from the activity or other context in your application in which it eventually operates.
- Create a Parse Delimited rule. For more information, see Creating a Parse Delimited rule.
- Review the basics of unit testing. For more information, see Unit testing individual rules.
For a simple test, obtain some test data. You can type or paste the data into a form, store it in a local Windows file, or upload it into a text file rule.
-
Save the Parse Delimited rule that you want to unit test.
-
Click
.A guided test window opens. -
Select a radio button to indicate the source of the test data.
-
If the data is to be entered directly, type or paste the data into the text area.
-
If the data is in a local file, click Choose File and navigate to the file. Then, click Open.
-
If the test data is in a text file rule, enter all three key parts of the rule that are separated by periods.
-
Click Execute to evaluate the rule.
An XML document is displayed in a new window, showing properties and the corresponding parsed values. The clipboard is not altered; no properties are updated.
Published November 5, 2020 - Updated January 21, 2021