DevopsTest

Stores and manages individual test definitions within the DevOps 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. This object is available in API version 67.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
DefinitionInTestProvider
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.
Description
Type
textarea
Properties
Create, Nillable, Update
Description
Stores additional details or notes about the test.
DevopsPipelineId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References the DevOps pipeline associated with the test.
Relationship Name
DevopsPipeline
Refers To
DevopsPipeline
DevopsTestProviderId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References the external test provider that manages the test.
Relationship Name
DevopsTestProvider
Refers To
DevopsTestProvider
EnvironmentId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References the DevOps environment in which the test is applicable.
Relationship Name
Environment
Refers To
DevopsEnvironment
ExternalId
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Stores the identifier used by the external test provider to uniquely identify the test.
IsActive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the test is currently active and available for execution.
IsEssential
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.
LastExecutionStatus
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Indicates the result of the most recent test execution.
Possible values are:
  • Error
  • Failed
  • InProgress
  • Passed
The default value is Passed.
LastExecutionTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Stores the date and time of the most recent test execution.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, such as through a related record or list view.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Stores the name of the test.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Identifies the user or queue that owns the test record.
Relationship Name
Owner
Refers To
Group, User
Severity
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.
Subtype
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores a more specific classification of the test within its test type.
SyncLogId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References the synchronization log associated with the test provider sync operation.
Relationship Name
SyncLog
Refers To
DevopsTestProviderSyncLog
TestClass
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the class name or identifier associated with the test implementation.
TestProviderSpecificConfig
Type
textarea
Properties
Create, Nillable, Update
Description
Stores provider-specific configuration settings required for the test.
Type
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the category of the test.
Possible values are:
  • End-to-End Test
  • Integration Test
  • Linting
  • Profiling
  • Scanning
  • Unit Test
The default value is Linting.
UniqueKey
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.