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

%ZHSLIB.PackageManager.Developer.UnitTest.Manager

class %ZHSLIB.PackageManager.Developer.UnitTest.Manager extends %UnitTest.Manager

Method Inventory

Methods

classmethod GetLastStatus(Output pFailureCount As %Integer) as %Status
Returns $$$OK if the last unit test run was successful, or an error if it was unsuccessful.
classmethod LoadTestDirectory(pRootDirectory As %String, pVerbose As %Boolean = 0, Output pLoadedList As %String, pFormat As %String = "") as %Status
Loads unit test classes from a directory without compiling or running them. (Other debug loading approaches would compile them.)
classmethod RunTest(testspec As %String, qspec As %String, ByRef userparam) as %Status
Ensures the last run variable is cleared out, then just does the usual.
method SaveResult(duration As %Library.String, ByRef userparam As %Library.String)
Does the default behavior, then stashes the latest run index

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab