No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
ApexTestResult
Represents the result of an Apex test method execution. This object is available in API version 23.0 and later.
Supported Calls
describeSObjects(), query(), retrieve()
Fields
| Field Name | Details |
|---|---|
| ApexClassId |
|
| ApexLogId |
|
| AsyncApexJobId |
|
| Message |
|
| MethodName |
|
| Outcome |
|
| QueueItemId |
|
| StackTrace |
|
| TestTimestamp |
|
Usage
You can query the fields of the ApexTestResult record that corresponds to a test method executed as part of an Apex class execution.
Each test method execution is represented by a single ApexTestResult record. For example, if an Apex test class contains six test methods, six ApexTestResult records are created. These records are in addition to the ApexTestQueueItem record that represents the Apex class.