Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.UnitTest.Manager


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

Method Inventory (Including Private)

Methods (Including Private)

classmethod GetLastStatus(Output pFailureCount As %Integer) as %Status [ Language = objectscript ]
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) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Ensures the last run variable is cleared out, then just does the usual.
method SaveResult(duration As %Library.String, ByRef userparam As %Library.String) [ Language = objectscript ]
Does the default behavior, then stashes the latest run index

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)