google_api_tool_results v0.22.0 GoogleApi.ToolResults.V1beta3.Api.TestCases View Source
API calls for all endpoints tagged TestCases
.
Link to this section Summary
Functions
Gets details of a Test Case for a Step. Experimental test cases API. Still in active development.
Lists Test Cases attached to a Step. Experimental test cases API. Still in active development.
Link to this section Functions
toolresults_test_cases_get(connection, project_id, history_id, execution_id, step_id, test_case_id, optional_params \\ [], opts \\ [])
View Sourcetoolresults_test_cases_get( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.TestCase.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets details of a Test Case for a Step. Experimental test cases API. Still in active development.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the containing Test Case does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project id.Required.
history_id
(type:String.t
) - A History id.Required.
execution_id
(type:String.t
) - A Execution idRequired.
step_id
(type:String.t
) - A Step id. Note: This step must include a TestExecutionStep.Required.
test_case_id
(type:String.t
) - A Test Case id.Required.
optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.TestCase{}}
on success{:error, info}
on failure
toolresults_test_cases_list(connection, project_id, history_id, execution_id, step_id, optional_params \\ [], opts \\ [])
View Sourcetoolresults_test_cases_list( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.ListTestCasesResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Lists Test Cases attached to a Step. Experimental test cases API. Still in active development.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the containing Step does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project id.Required.
history_id
(type:String.t
) - A History id.Required.
execution_id
(type:String.t
) - A Execution idRequired.
step_id
(type:String.t
) - A Step id. Note: This step must include a TestExecutionStep.Required.
optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:pageSize
(type:integer()
) - The maximum number of TestCases to fetch.Default value: 100. The server will use this default if the field is not set or has a value of 0.
Optional.
:pageToken
(type:String.t
) - A continuation token to resume the query at the next item.Optional.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.ListTestCasesResponse{}}
on success{:error, info}
on failure