Adding the Pega unit testing task
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:
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.
Select Pega unit testing from the Task list.
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, Edit Test Suite form. If you do not specify a test suite, all the Pega unit tests for the pipeline application are run.
on theTo 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.
Click Submit.
Continue configuring your pipeline. For more information, see one of the following topics:
Previous topic Adding a pipeline on-premises Next topic Adding the Jenkins task