Caché %UnitTest Tutorial
Example: UnitTest Portal
[Home] [Back] [Next]
InterSystems: The power behind what matters   

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

Before viewing the reports in a namespace, you must grant the Management Portal access to the UnitTest framework for the particular namespace. Do this by entering the following command at a terminal prompt in the %SYS namespace:

%SYS>Set ^SYS("Security","CSP","AllowPrefix","/csp/user/","%UnitTest.")=1

You can now navigate to the UnitTest Portal, using System Explorer > Tools > UnitTest Portal. If necessary, switch to the USER namespace.
Note the following about the above command:

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA