ApexTestResult

Represents the result of an Apex test method execution. This object is available in API version 23.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ApexTestResult in the Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
ApexClassId Class ID reference 18
ApexLogId Log ID reference 18
ApexTestRunResultId ApexTestRunResult ID reference 18
AsyncApexJobId Apex Job ID reference 18
Id Apex Test Result ID id 18
IsTestSetup Is Test Setup boolean
Message Error Message string 4000
MethodName Method Name string 255
Outcome Pass/Fail picklist 40
QueueItemId Apex Test Queue Item ID reference 18
RunTime Run Time int 9
StackTrace Stack Trace string 4000
SystemModstamp System Modstamp datetime
TestTimestamp Time Started datetime