ApexTestResult
Stores the results of Apex test executions, including success, failure, and error messages.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the Apex test result record. | |
| SystemModstamp | Datetime | True |
System-generated timestamp indicating the most recent modification. | |
| TestTimestamp | Datetime | True |
Date and time when the test execution began. | |
| Outcome | String | True |
Result of the test method execution, such as Pass or Fail. | |
| ApexClassId | String | True |
ApexClass.Id |
ID of the Apex class that contains the test method. |
| MethodName | String | True |
Name of the test method that was executed. | |
| Message | String | True |
Error message returned if the test failed. | |
| StackTrace | String | True |
Stack trace details associated with any test failures or exceptions. | |
| AsyncApexJobId | String | True |
AsyncApexJob.Id |
ID of the asynchronous job that ran the test. |
| QueueItemId | String | True |
ID of the queue item used to track the test execution request. | |
| ApexLogId | String | True |
ApexLog.Id |
ID of the Apex debug log associated with this test result. |