docs.intersystems.com
Home  /  Application Development: Core Topics  /  %UnitTest Tutorial  /  InterSystems IRIS Data Platform %UnitTest Tutorial


%UnitTest Tutorial
InterSystems IRIS Data Platform %UnitTest Tutorial
InterSystems: The power behind what matters   
Search:  


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.
Note:
This tutorial assumes a basic familiarity with ObjectScript and object-oriented development with InterSystems IRIS Data Platform. To learn more about ObjectScript, read the ObjectScript Tutorial. To learn more about object-oriented development with InterSystems IRIS, read Using Objects.