Unit testing a report definition

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 Records > Reports > Report Definition, and then select the report definition that you want to test.
  2. Click Actions > Run.
  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 Configuring unit test cases.
  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.