persistent class %UnitTest.Result.TestInstance
extends %Persistent, %XML.Adaptor
Object and SQL projection of a UnitTest TestInstance
property ConfigurationName
as %String(MAXLEN="");
Name of the Caché Configuration in which this test was run
property DateTime
as %TimeStamp;
The time when the UnitTest TestInstance finished running
property Duration
as %Numeric(SCALE=6);
Total duration of execution of this TestInstance, in seconds
property InstanceIndex
as %Integer;
Index of the TestInstance
property MachineName
as %String(MAXLEN="");
Name of the machine on which this test was run
property Namespace
as %String(MAXLEN="") [ Calculated ];
Namespace in which this test was run
relationship TestSuites
as %UnitTest.Result.TestSuite [ Inverse = TestInstance,Cardinality = children ];
List of the TestSuites in this TestInstance
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.
property UserParam
as %String(MAXLEN="");
Additional information passed in by uer at runtime
property Version
as %String(MAXLEN="");
$zversion value of the Caché installation in which this test was run
classmethod BuildIndices()
as %Status
classmethod FileIndicesRecursive(id)
as %Status
index (DateTime on DateTime);
index (IdKeyIndex on InstanceIndex) [IdKey];
index (Location on MachineName,ConfigurationName,Namespace);
index (UserFields on UserFields(KEYS),UserFields(ELEMENTS));
index (UserParam on UserParam);
index (Version on Version);