class ProjectsHistoriesExecutionsStepsTestCases extends Resource (View source)

The "testCases" collection of methods.

Typical usage is:

 $toolresultsService = new Google\Service\ToolResults(...);
 $testCases = $toolresultsService->projects_histories_executions_steps_testCases;

Methods

get(string $projectId, string $historyId, string $executionId, string $stepId, string $testCaseId, array $optParams = [])

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 (testCases.get)

listProjectsHistoriesExecutionsStepsTestCases(string $projectId, string $historyId, string $executionId, string $stepId, array $optParams = [])

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 (testCases.listProjectsHistoriesExecutionsStepsTestCases)

Details

TestCase get(string $projectId, string $historyId, string $executionId, string $stepId, string $testCaseId, array $optParams = [])

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 (testCases.get)

Parameters

string $projectId

A Project id. Required.

string $historyId

A History id. Required.

string $executionId

A Execution id Required.

string $stepId

A Step id. Note: This step must include a TestExecutionStep. Required.

string $testCaseId

A Test Case id. Required.

array $optParams

Optional parameters.

Return Value

TestCase

Exceptions

Exception

ListTestCasesResponse listProjectsHistoriesExecutionsStepsTestCases(string $projectId, string $historyId, string $executionId, string $stepId, array $optParams = [])

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 (testCases.listProjectsHistoriesExecutionsStepsTestCases)

Parameters

string $projectId

A Project id. Required.

string $historyId

A History id. Required.

string $executionId

A Execution id Required.

string $stepId

A Step id. Note: This step must include a TestExecutionStep. Required.

array $optParams

Optional parameters.

Return Value

ListTestCasesResponse

Exceptions

Exception