Skip to main content

Cleaning up your test environment

Suggest edit Updated on December 13, 2021

After you run a unit test case or test suite, user and data pages used to set up the test environment and the parameter page are automatically removed by default. You can apply additional data transforms or activities to remove other pages or information on the clipboard before you run more test cases or suites.

Before you begin: Open the unit test case. For more information, see Opening a unit test case.
  1. Click the Setup & Cleanup tab.
  2. To keep the test data on the clipboard at the end of the test run, clear the Cleanup the test data at the end of run check box in the Cleanup section.
  3. In the Cleanup section, click Add step.
  4. Select Apply data transform or Execute activity, and then provide the appropriate data transform or activity in the next field.
  5. If parameters are configured on the rule, you can configure them by clicking the Parameters link and providing values in the Configure parameters dialog box.
  6. Optional: Provide additional information in the Enter comments field.
  7. Click Save.
  • Test environment cleanup

    After you run a unit test case or test suite, user and data pages used to set up the test environment and the parameter page are automatically removed by default.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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