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 NameField LabelTypeDigitsLengthPrecisionScale
AsyncApexJobIdApex Job IDreference 18  
ClassesCompletedNumber of classes completed in this test runint9   
ClassesEnqueuedNumber of classes enqueued in this test runint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
EndTimeEnd time of the test rundatetime    
IdApex Test Run Result IDid 18  
IsAllTestsallTestsboolean    
IsDeletedDeletedboolean    
JobNameName of the jobstring 255  
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
MethodsCompletedNumber of methods completed in this test runint9   
MethodsEnqueuedNumber of methods enqueued in this test runint9   
MethodsFailedNumber of methods failed in this test runint9   
SourceClient that kicked off the test runstring 255  
StartTimeStart time of the test rundatetime    
StatusStatus of the test runpicklist 255  
SystemModstampSystem Modstampdatetime    
TestSetupTimeTime(ms) spent running test setupint9   
TestTimeTime(ms) actually spent running testsint9   
UserIdUser IDreference 18