Unit Testing with %UnitTest
Part II of this tutorial provides an introduction to unit testing InterSystems IRIS code using the %UnitTest package. After completing this part of the tutorial, you will be able to:
Explain the roles of the three primary classes in the %UnitTest package.
List the requirements for unit test classes and methods based on the %UnitTest package.
Create and execute unit tests for a method.
Navigate the test reports created by %UnitTest.Manager.
Use %UnitTest.TestCase methods to initialize and restore database data while executing unit tests.