%UnitTest.Result.TestInstance
Class %UnitTest.Result.TestInstance Extends (%Persistent, %XML.Adaptor) [ Final, Owner = {%Developer}, System = 4 ]
Object and SQL projection of a UnitTest TestInstance
Properties
InstanceIndex
Property InstanceIndex As %Integer;
Index of the TestInstance
DateTime
Property DateTime As %TimeStamp;
The time when the UnitTest TestInstance finished running
Duration
Property Duration As %Numeric(SCALE = 6);
Total duration of execution of this TestInstance, in seconds
MachineName
Property MachineName As %String(MAXLEN = "");
Name of the machine on which this test was run
ConfigurationName
Property ConfigurationName As %String(MAXLEN = "");
Name of the InterSystems IRIS configuration in which this test was run
Version
Property Version As %String(MAXLEN = "");
$zversion value of the InterSystems IRIS instance in which this test was run
Namespace
Property Namespace As %String(MAXLEN = "") [ Calculated, SqlComputeCode = { set {*} = $s({namespaceStored}'="":{namespaceStored},1:$namespace) }, SqlComputed ];
Namespace in which this test was run
namespaceStored
Property namespaceStored As %String(MAXLEN = "") [ Private ];
Private property for the internally stored namespace
UserParam
Property UserParam As %String(MAXLEN = "");
Additional information passed in by uer at runtime
UserFields
Property UserFields As array Of %String(MAXLEN = "");
Additional information, like platform, product version, etc. for each TestInstance. This information is indexed so users can query using this information.
TestSuites
Relationship TestSuites As %UnitTest.Result.TestSuite [ Cardinality = children, Inverse = TestInstance ];
List of the TestSuites in this TestInstance
Methods
FileIndicesRecursive
ClassMethod FileIndicesRecursive(id) As %Status
BuildIndices
ClassMethod BuildIndices() As %Status