persistent class %UnitTest.Result.TestMethod
extends %Persistent, %XML.Adaptor
Object and SQL projection of a UnitTest TestMethod
property Duration
as %Numeric(SCALE=6);
Duration of the execution of the TestMethod, in seconds
property ErrorAction
as %String;
If the Status is failed, this is the action that logged the error
property ErrorDescription
as %String;
If the Status is failed, this is the description of the error
property Name
as %String;
Name of the TestMethod
property Status
as %Integer(DISPLAYLIST=",failed,passed,skipped",VALUELIST=",0,1,2");
The status of the TestMethod.
relationship TestAsserts
as %UnitTest.Result.TestAssert [ Inverse = TestMethod,Cardinality = children ];
List of TestAsserts in this TestMethod
relationship TestCase
as %UnitTest.Result.TestCase [ Inverse = TestMethods,Cardinality = parent ];
The parent TestCase containing this TestMethod
classmethod FileIndicesRecursive(id)
as %Status
index (IdKeyIndex on Name) [IdKey];
index (idxName on Name);