({{, (RefLink[TestResultObject, paclet:ref/TestResultObject])[…]
gives an object that represents the results of a (RefLink[VerificationTest, paclet:ref/VerificationTest]).}})

OpenersNotesSection(Spacer1)Details

(RefLink[TestResultObject, paclet:ref/TestResultObject]) is typically obtained as a result from (RefLink[VerificationTest, paclet:ref/VerificationTest]).

(RefLink[TestResultObject, paclet:ref/TestResultObject])[…]["prop"] returns the value of "prop" for a given (RefLink[TestResultObject, paclet:ref/TestResultObject]).

(RefLink[TestResultObject, paclet:ref/TestResultObject])[…][{"(Subscript[prop, 1])","(Subscript[prop, 2])",…}] returns an association of values corresponding to several properties.

(RefLink[TestResultObject, paclet:ref/TestResultObject])[…]["Properties"] returns a list of all properties available.

Possible properties for (RefLink[TestResultObject, paclet:ref/TestResultObject]) include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Run a (RefLink[VerificationTest, paclet:ref/VerificationTest]) to get a (RefLink[TestResultObject, paclet:ref/TestResultObject]):

VerificationTest[1+1,2]

Extract output generated on evaluation of input:

tobj=VerificationTest[Integrate[(E^(-(x^2))),{x,0,∞}],((Sqrt[π])/2)]

tobj["ActualOutput"]

List of all properties:

tobj["Properties"]

Extract several properties at once:

tobj[{"Outcome","AbsoluteTimeUsed","CPUTimeUsed","MemoryUsed"}]

Extract all properties and present results in a (RefLink[Dataset, paclet:ref/Dataset]):

Dataset[tobj[tobj["Properties"]]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[VerificationTest, paclet:ref/VerificationTest])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Using the Testing Framework, paclet:tutorial/UsingTheTestingFramework])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Systematic Testing & Verification, paclet:guide/SystematicTestingAndVerification])}})}})