InterSystems IRIS %UnitTest Tutorial
Welcome to the %UnitTest Tutorial !
InterSystems IRIS provides the %UnitTest package of classes for unit testing your applications. The package provides facilities for quickly developing unit test classes, executing the tests, and creating reports. You can either use the package directly or extend its classes to customize your unit testing tools. %UnitTest is structurally very similar to the xUnit frameworks for unit testing. Developers familiar with these frameworks will have an especially easy time using %UnitTest.
This tutorial provides a fast-paced, hands-on introduction to the %UnitTest package. Parts I and II of this tutorial are independent of each other and can be completed in any order.
Complete Part I of the tutorial to learn about the differences between unit tests and integration tests, the structural similarities between the xUnit frameworks and %UnitTest, as well as the role of unit testing in Agile approaches to application development.