Unit testing technical rules Types of technical rules include activities. Unit testing an activity You can test an activity individually before testing it in the context of the application that you are developing. Additionally, you can convert the test run to a Pega unit test case.