You are here: Record management > Rule and application testing > PegaUnit testing > Configuring property assertions

Configuring property assertions

You can configure property assertions to compare the expected value of one or more properties with the actual values returned by a rule.

  1. Complete one of the following actions:

  2. Complete one of the following actions:

  3. From the Assertion type list, select Property.

  4. Add properties to the assertion.

  5. From the Comparator list, select the comparator that you want to use to compare the property with a specified value.

  6. In the Value field, either enter a value with which to compare the property or open the Expression Builder by clicking the Gear icon to enter an expression that is used to provide the value.

  7. Note: The Gear icon does not appear until after you have saved the rule form.

  8. Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.

  9. If you are adding properties using the property panel, click Done.

  10. Click Save in the rule form.