DevopsTest
Stores and manages individual test definitions within the Lifecycle testing framework. It maintains metadata about tests imported from external test providers, including test type, severity, execution status, configuration details, and associations with pipelines and environments. This object enables the organization, tracking, and execution of tests as part of automated quality assurance and deployment processes.
Introduced in API version 67.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the URL or reference to the test definition in the external test provider system.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Stores additional details or notes about the test.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the DevOps pipeline associated with the test.
- Relationship name: DevopsPipeline
- Relationship type: relationship
- Refers to: DevopsPipeline
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the external test provider that manages the test.
- Relationship name: DevopsTestProvider
- Relationship type: relationship
- Refers to: DevopsTestProvider
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the DevOps environment in which the test is applicable.
- Relationship name: Environment
- Relationship type: relationship
- Refers to: DevopsEnvironment
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Stores the identifier used by the external test provider to uniquely identify the test.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the test is currently active and available for execution.
- Default value: false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the test is considered essential for validation or deployment. The default value is false.
- Default value: false
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
Indicates the result of the most recent test execution.
The default value is
Passed. -
Possible values:
- Error — Error
- Failed — Failed
- InProgress — InProgress
- Passed — Passed (default)
-
Default value: Passed
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Stores the date and time of the most recent test execution.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Stores the name of the test.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Indicates the severity level assigned to the test. Possible values range from 1 (lowest) to 5 (highest). The default value is 1.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores a more specific classification of the test within its test type.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the synchronization log associated with the test provider sync operation.
- Relationship name: SyncLog
- Relationship type: relationship
- Refers to: DevopsTestProviderSyncLog
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the class name or identifier associated with the test implementation.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Stores provider-specific configuration settings required for the test.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
Specifies the category of the test.
The default value is
Linting. -
Possible values:
- End-to-End Test — End-to-End Test
- Integration Test — Integration Test
- Linting — Linting (default)
- Profiling — Profiling
- Scanning — Scanning
- Unit Test — Unit Test
-
Default value: Linting
- Type: textarea
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Stores a unique identifier for the test within the organization to prevent duplicate records.