ApexTestQueueItem
Tracks Apex test executions in the asynchronous test queue, helping developers manage test runs.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the Apex test queue item. | |
| CreatedDate | Datetime | True |
Date and time when the test queue item was created. | |
| CreatedById | String | True |
User.Id |
ID of the user who created the test queue item. |
| ApexClassId | String | False |
ApexClass.Id |
ID of the Apex class associated with this test execution request. |
| Status | String | False |
Current status of the test queue item, such as Queued or Completed. | |
| ExtendedStatus | String | True |
Detailed status information providing additional context on the execution state. | |
| ParentJobId | String | True |
AsyncApexJob.Id |
ID of the parent Apex job that this test queue item is part of. |
| TestRunResultId | String | True |
ID of the TestRunResult associated with this record. | |
| ShouldSkipCodeCoverage | Bool | False |
Field containing ShouldSkipCodeCoverage information. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | True |
System-generated timestamp for tracking the most recent update. |