Newer Version Available
ApexTestResultLimits
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Special Access Rules
The enableApexTestReqViewSetup field on the ApexSettings metadata type controls the activation of the critical update “Require View Setup permission to access Apex test data”. In API version 49.0 and later, when the field is set to true, users must have the View Setup and Configuration permission to access this object.
Fields
| Field Name | Details |
|---|---|
| ApexTestResultId |
|
| AsyncCalls |
|
| Callouts |
|
| Cpu |
|
| Dml |
|
| DmlRows |
|
|
|
| LimitContext |
|
| LimitExceptions |
|
| MobilePush |
|
| QueryRows |
|
| Soql |
|
| Sosl |
|
Usage
- The associated test method must be run asynchronously.
- Limits for asynchronous Apex operations (batch, scheduled, future, and queueable) that are called within test methods are not captured.
- Limits are captured only for the default namespace.