Close popover

Table of Contents

Adding the Pega unit testing task

Version:

If you use Pega unit tests to validate application data, add the Pega unit testing task on the pipeline stage where you want to run it. For example, you can run Pega unit tests on a QA system.

To run Pega unit tests for either the pipeline application or for an application that is associated with an access group, do the following steps:

  1. Do one of the following actions:

    • Click a manually added task, click the More icon, and then click either Add task above or Add task below.
    • Click Add task in the stage.
  2. Select Pega unit testing from the Task list.

  3. Do one of the following actions:

    • To run all the Pega unit tests that are in a Pega unit suite for the pipeline application, in the Test Suite ID field, enter the pxInsName of the test suite.

      You can find this value in the XML document that comprises the test suite by clicking, in Designer Studio, Actions XML on the Edit Test Suite form. If you do not specify a test suite, all the Pega unit tests for the pipeline application are run.

    • To run all the Pega unit tests for an application that is associated with an access group, in the Access Group field, enter the access group.

      For more information about creating Pega unit tests, see Creating Pega unit test cases.

  4. Click Submit.

  5. Continue configuring your pipeline. For more information, see one of the following topics:

Suggest Edit

Have a question? Get answers now.

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