Skip to main content

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

Feedback