Skip to main content


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

Unit testing a report definition

Updated on January 14, 2022

You can test a report definition individually, before testing it in the context of the application that you are developing. Additionally, you can convert the test into a Pega unit test case to validate application data.

In a continuous delivery environment, Pega unit testing provides you with feedback on the quality of your applications, so that you can quickly identify issues and correct them.

  1. In the navigation pane of Dev Studio, click RecordsReportsReport Definition, and then select the report definition that you want to test.
  2. Click ActionsRun.
  3. To convert the report definition test run into a Pega unit test case, click Convert to test and then configure the unit test case. For more information, see Creating unit test cases for rules.
  4. Optional: To edit the report, click Edit Report and then make the changes. For more information, see Editing a report.
  5. Optional: In the Actions list, you can also select to refresh the report, save a copy of the report, summarize and sort the report, convert the report from a summary into a list (if applicable), and export the report to a PDF or Excel file.

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