From PRPC 7.2.2, we have a new functionality in Pega to build Unit Tests to test activities, decision tables, decision trees and data transforms.
Unit Testing for Data Pages and Strategies was already present on previous PRPC Versions.
We need to build a CI / CD chain, and we need to execute Unit Tests from a Jenkins Job. But i could not find any OOTB Feature to allow this e.g. REST Service. How can we run PegaUnit tests from Jenkins?
During my research i found pzExecuteTests REST Service which is available from Pega v7.2.
Description: This is OOTB REST service available to customers to enabled them to trigger execution of test cases from an external system/Continuous integration tools /Build tools etc.
This service is unauthenticated.
Usage: It accepts two parameters
1) AccessGroup : Access Group in which tests to be executed are present and rules under test will be accessible 2) LocationOfResults : Location where xml outpur of service will be stored
It executes all test cases available in default applictaion linked to AccessGroup provided. i.e. all test cases available in current application rulesets.
Hope this might help you in achieving your requirement.
Posted: 6 years ago
Posted: 2 Mar 2017 7:17 EST
Filipe Lopes (FilipeL9)