Skip to main content

Unit Testing Caché Code with %UnitTest

Part II of this tutorial provides an introduction to unit testing Caché 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 Caché Server Pages test reports created by %UnitTest.ManagerOpens in a new tab.

  • Use %UnitTest.TestCaseOpens in a new tab methods to initialize and restore database data while executing unit tests.

Note:

Click here to begin.

FeedbackOpens in a new tab