ApexTestResult
Repres ents 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.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ApexClassId | Class ID | reference | 18 | |||
ApexLogId | Log ID | reference | 18 | |||
ApexTestRunResultId | Apex Test Run Result ID | reference | 18 | |||
AsyncApexJobId | Apex Job ID | reference | 18 | |||
Id | Application 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 | ||||
TestCategory | Test Category | string | 81 | |||
TestName | Dynamic test class name | string | 255 | |||
TestNamespace | Dynamic test class namespace | string | 81 | |||
TestTimestamp | Time Started | datetime |