%UnitTest.Result.TestSuite
Class %UnitTest.Result.TestSuite Extends (%Persistent, %XML.Adaptor) [ Final, Owner = {%Developer}, System = 4 ]
Object and SQL projection of a UnitTest TestSuite
Properties
Name
Property Name As %String;
Name of the TestSuite
Status
Property Status As %Integer(DISPLAYLIST = ",failed,passed,skipped", VALUELIST = ",0,1,2");
The status of the TestSuite.
Duration
Property Duration As %Numeric(SCALE = 6);
Duration of the execution of the TestSuite, in seconds
ErrorAction
Property ErrorAction As %String;
If the Status is failed, this is the action that logged the error
ErrorDescription
Property ErrorDescription As %String;
If the Status is failed, this is the description of the error
TestInstance
Relationship TestInstance As %UnitTest.Result.TestInstance [ Cardinality = parent, Inverse = TestSuites ];
The parent TestInstance containing this TestSuite
TestCases
Relationship TestCases As %UnitTest.Result.TestCase [ Cardinality = children, Inverse = TestSuite ];
List of TestCases in this TestSuite
Methods
FileIndicesRecursive
ClassMethod FileIndicesRecursive(id) As %Status