When you configure a PegaUnit test suite, you can add test cases to the suite, modify the order in which you want them to run, and remove test cases. You can also modify and configure settings, such as setting up your clipboard with information before you run the test.
Open the test suite if it is not already open.
Complete any of the following actions:
Modify the description of the test suite.
Select the type of test suite from the Category list.
Ad-hoc: Select to specify that the test suite informally tests a feature.
Smoke: Select to specify that the tests suite verifies that critical application functionality is working as expected.
Regression: Select to specify that the test suite runs all test cases when changes are made to application functionality. For example, if you fix a bug, you can test that it does not affect other application functionality.
Add test cases to the test suite by clicking Add test cases and selecting the test cases that you want to add. You cannot add duplicate test cases.
You can click the Advanced filter icon to filter information by multiple criteria.
Remove test cases from the test suite by selecting test suites and clicking Remove.
Modify the order in which test cases are run in the test suite by clicking the Drag selector icon next to the test case and dragging and dropping it. You can reorder test cases only within the page that displays the test cases. If there are multiple pages of test cases, you cannot reorder test cases among pages.
Apply one or more data pages, data transforms, or activities to set up the clipboard before running a test in the Setup & Cleanup tab. You can also use activities to create any required test data, such as work or data objects. For more information, see Setting up your test environment.
Run a test suite by clicking Actions > Run.
Click View details in the banner to view more details about the latest result. This button appears after a test suite has been run. See PegaUnit test suite run results for more information.
Click View previous runs to open a new dialog box that displays the test date, the run time, expected run time, and whether the test passed or failed. Click the row of a test case to view detailed test results. This link is displayed after a test suite has been run.
Click Save. If you are saving the form for the first time, you can modify the identifier; however, after you save the rule form, you cannot modify this field.