Application Development Flashcards
What is key concept for application development in Pega
Unit Testing
What is the purpose of unit testing?
Identify configuration errors to avoid propagation through rule sets
What are key concepts related to testing a rule?
1) Define test input data
2) Define test assertions
Where do you manage unit tests in Pega?
Configure > Application>Quality>Automated Testing> Unit Testing
What are two methods for creating test data for a unit test?
1) create test data with a trasform (like pyDefaults)
2) copy from pyWorkPage
How do create at test case?
1) Run Rule > Create Test Btn
2) Set Assertions
What are the types of assertions in a unit test?
1) Property Test
2) Decision Result
3) Expected Runtime
4) Page - presence of data in page
What are the requirements to create a Rule set for unit tests?
1) Separate rule set for tests
2) Group access to test rule set