What is %UnitTest?
The %UnitTest package is a set of classes that provide a testing framework for Caché. Structurally, it resembles the xUnit testing frameworks. %UnitTest provides classes and facilities for creating and executing unit tests for the following:
-
Caché classes and methods
-
ObjectScript routines
-
Caché SQL scripts
-
Ensemble productions
Part II of this tutorial focuses on testing Caché classes and methods.