Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%IPM] >  [Test] >  [Manager]
Private  Storage   

class %IPM.Test.Manager extends %UnitTest.Manager

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary

Properties
CurrentDir Debug Display LoadUDL
LoadXML LogIndex ReportVariableLeaks ResultId
UserFields UserParam

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Cleanup ConvertLogData ConvertStatus DebugLoadTestSuite
DebugRunTestCase GetLastStatus GetSubDirectories GetTestState
GetTestStatus IsSuccess LoadTestDirectory LogAssert
LogMessage LogStateBegin LogStateEnd LogStateStatus
OnAfterAllTests OnAfterOneTest OnAfterSaveResult OnAfterTestCase
OnAfterTestSuite OnBeforeAllTests OnBeforeAutoLoad OnBeforeOneTest
OnBeforeTestCase OnBeforeTestSuite OutputFailures PrintErrorLine
PrintLine PrintURL PurgeLog PurgeResult
Record Root RunOneTestCase RunOneTestSuite
RunTest RunTestSuites RunTestsFromFileList SaveResult
WipeNamespace addToExcludeGlobal deleteLoadedClasses getLoadedClass
setRecursiveStatus


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 OutputFailures()
• 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)
Does the default behavior, then stashes the latest run index


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.