ApexTestRunResult
Contains summary information about all the test methods that were run in a particular Apex job. This object is available in API version 37.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ApexTestRunResult in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AsyncApexJobId | Apex Job ID | reference | 18 | |||
ClassesCompleted | Number of classes completed in this test run | int | 9 | |||
ClassesEnqueued | Number of classes enqueued in this test run | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
EndTime | End time of the test run | datetime | ||||
Id | Apex Test Run Result ID | id | 18 | |||
IsAllTests | allTests | boolean | ||||
IsDeleted | Deleted | boolean | ||||
JobName | Name of the job | string | 255 | |||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
MethodsCompleted | Number of methods completed in this test run | int | 9 | |||
MethodsEnqueued | Number of methods enqueued in this test run | int | 9 | |||
MethodsFailed | Number of methods failed in this test run | int | 9 | |||
Source | Client that kicked off the test run | string | 255 | |||
StartTime | Start time of the test run | datetime | ||||
Status | Status of the test run | picklist | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TestSetupTime | Time(ms) spent running test setup | int | 9 | |||
TestTime | Time(ms) actually spent running tests | int | 9 | |||
UserId | User ID | reference | 18 |