Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

Example: UnitTest Portal

Running a unit test generates a test report. InterSystems IRIS provides a UnitTest Portal for viewing the reports. The reports are organized by namespace.

You can navigate to the UnitTest Portal, using System Explorer > Tools > UnitTest Portal. If necessary, switch to the USER namespace.

Before you can switch to the USER namespace, you need to grant access for the %UnitTest classes to access the UnitTest Portal in this namespace.

To do this, execute the following commands in the Terminal:

USER>set $namespace = "%SYS"
 
%SYS>set ^SYS("Security","CSP","AllowPrefix","/csp/user/","%UnitTest.")=1

Management Portal with UnitTest Portal menu item selected

FeedbackOpens in a new tab