Unit testing report rules Report rules include report definitions. 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.