Example: Executing the Test
After loading the production and the test class, you can execute the test using the Terminal. Here's how to do this using the TestProduction Run method:
-
Open the Terminal and change to the namespace in which you installed the production and test classes.
-
Assign ^UnitTestRoot to a either a valid directory or the empty string.
TUTORIAL>Set ^UnitTestRoot=""
-
Execute the test
TUTORIAL>Do ##class(Tutorial.ProductionTest).Run()
Your output looks something like this
Notice that the last line is a URL. Use this URL to view an HTML report on the test.