Before you create PegaUnit test cases and test suites, you must configure a test ruleset in which to store the tests.
In the Designer Studio header, open your application rule form by clicking your application and selecting Open Application.
Enter a ruleset name and version of an existing ruleset.
Click the Open icon and create a new ruleset.
The test ruleset must always be the last ruleset in your application stack.
Open the test ruleset and click the Category tab.
Select the Use this ruleset to store test cases check box.
Save the test and application ruleset forms.
When you save test cases for rules, they are saved in this ruleset.