mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
133 lines
6.0 KiB
JSON
133 lines
6.0 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields"
|
|
],
|
|
"title": "DevopsTest - Data API",
|
|
"description": "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.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description",
|
|
"relationship_name",
|
|
"refers_to"
|
|
],
|
|
"fields": {
|
|
"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."
|
|
}
|
|
}
|
|
} |