Unit testing technical rules Unit test technical rules, such as 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.