Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Unit testing UI rules

Updated on April 5, 2022

Types of UI rules include harnesses and sections.

  • Unit testing a harness

    After you create a harness rule, you can run the rule to test it in the context of the application you are developing. Specify a test page for the rule to use, provide sample data as the input, run the rule, and examine the results.

  • Unit testing a section

    After you create a section rule, you can run the rule to test it in the context of the application you are developing. Specify a test page for the rule to use, provide sample data as the input, run the rule, and examine the results.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us