Skip to main content

%UnitTest.Result.TestSuite

persistent class %UnitTest.Result.TestSuite extends %Library.Persistent, %XML.Adaptor [ Final ]

SQL Table Name: %UnitTest_Result.TestSuite

Object and SQL projection of a UnitTest TestSuite

Property Inventory

Method Inventory

Properties

property Duration as %Numeric (SCALE = 6);
Duration of the execution of the TestSuite, in seconds
Property methods: DurationDisplayToLogical(), DurationGet(), DurationGetStored(), DurationIsValid(), DurationLogicalToDisplay(), DurationNormalize(), DurationSet(), DurationXSDToLogical()
property ErrorAction as %String;
If the Status is failed, this is the action that logged the error
Property methods: ErrorActionDisplayToLogical(), ErrorActionGet(), ErrorActionGetStored(), ErrorActionIsValid(), ErrorActionLogicalToDisplay(), ErrorActionLogicalToOdbc(), ErrorActionNormalize(), ErrorActionSet()
property ErrorDescription as %String;
If the Status is failed, this is the description of the error
Property methods: ErrorDescriptionDisplayToLogical(), ErrorDescriptionGet(), ErrorDescriptionGetStored(), ErrorDescriptionIsValid(), ErrorDescriptionLogicalToDisplay(), ErrorDescriptionLogicalToOdbc(), ErrorDescriptionNormalize(), ErrorDescriptionSet()
property Name as %String [ Required ];
Name of the TestSuite
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Status as %Integer (DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");
The status of the TestSuite.
Property methods: StatusDisplayToLogical(), StatusGet(), StatusGetStored(), StatusIsValid(), StatusLogicalToDisplay(), StatusNormalize(), StatusSet(), StatusXSDToLogical()
relationship TestCases as array of %UnitTest.Result.TestCase [ InitialExpression = $listbuild("%UnitTest.Result.TestCase","TestSuite",+$this,"children",1,1) , Transient , Inverse = TestSuite , Cardinality = children ];
List of TestCases in this TestSuite
Property methods: TestCasesGet(), TestCasesGetObject(), TestCasesGetObjectId(), TestCasesGetSwizzled(), TestCasesIsEmpty(), TestCasesIsValid(), TestCasesNewObject(), TestCasesRClose(), TestCasesRExec(), TestCasesRFetch(), TestCasesRelate(), TestCasesSQLCompute(), TestCasesSet(), TestCasesUnRelate()
relationship TestInstance as %UnitTest.Result.TestInstance [ Required , Inverse = TestSuites , Cardinality = parent ];
The parent TestInstance containing this TestSuite
Property methods: TestInstanceGet(), TestInstanceGetObject(), TestInstanceGetObjectId(), TestInstanceGetStored(), TestInstanceGetSwizzled(), TestInstanceIsValid(), TestInstanceNewObject(), TestInstanceOnDelete(), TestInstanceRClose(), TestInstanceRExec(), TestInstanceRFetch(), TestInstanceRelate(), TestInstanceSQLCompute(), TestInstanceSet(), TestInstanceSetObject(), TestInstanceSetObjectId(), TestInstanceUnRelate(), TestInstanceUnSwizzle()

Methods

classmethod FileIndicesRecursive(id) as %Status

Indexes

index (IdKeyIndex on Name) [IdKey, Type = key];
Index methods: IdKeyIndexCheck(), IdKeyIndexDelete(), IdKeyIndexExists(), IdKeyIndexOpen(), IdKeyIndexSQLCheckUnique(), IdKeyIndexSQLExists(), IdKeyIndexSQLFindPKeyByConstraint(), IdKeyIndexSQLFindRowIDByConstraint()
index (idxName on Name);
Index methods: idxNameExists()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%UnitTest.Result.TestSuite)

{%%PARENT}(ID)
=
Status
Duration
ErrorAction
ErrorDescription
FeedbackOpens in a new tab