[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-24 UTC."],[],[],null,["# REST Resource: projects.histories.executions.steps.testCases\n\n- [Resource: TestCase](#TestCase)\n - [JSON representation](#TestCase.SCHEMA_REPRESENTATION)\n- [TestStatus](#TestStatus)\n- [Methods](#METHODS_SUMMARY)\n\nResource: TestCase\n------------------\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"testCaseId\": string, \"elapsedTime\": { object (/docs/test-lab/reference/toolresults/rest/v1beta3/Duration) }, \"startTime\": { object (/docs/test-lab/reference/toolresults/rest/v1beta3/Timestamp) }, \"endTime\": { object (/docs/test-lab/reference/toolresults/rest/v1beta3/Timestamp) }, \"stackTraces\": [ { object (/docs/test-lab/reference/toolresults/rest/v1beta3/StackTrace) } ], \"status\": enum (/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories.executions.steps.testCases#TestStatus), \"skippedMessage\": string, \"testCaseReference\": { object (/docs/test-lab/reference/toolresults/rest/v1beta3/TestCaseReference) }, \"toolOutputs\": [ { object (/docs/test-lab/reference/toolresults/rest/v1beta3/ToolOutputReference) } ] } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `testCaseId` | `string` A unique identifier within a Step for this Test Case. |\n| `elapsedTime` | `object (`[Duration](/docs/test-lab/reference/toolresults/rest/v1beta3/Duration)`)` The elapsed run time of the test case. Required. |\n| `startTime` | `object (`[Timestamp](/docs/test-lab/reference/toolresults/rest/v1beta3/Timestamp)`)` The start time of the test case. |\n| `endTime` | `object (`[Timestamp](/docs/test-lab/reference/toolresults/rest/v1beta3/Timestamp)`)` The end time of the test case. |\n| `stackTraces[]` | `object (`[StackTrace](/docs/test-lab/reference/toolresults/rest/v1beta3/StackTrace)`)` The stack trace details if the test case failed or encountered an error. The maximum size of the stack traces is 100KiB, beyond which the stack track will be truncated. Zero if the test case passed. |\n| `status` | `enum (`[TestStatus](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories.executions.steps.testCases#TestStatus)`)` The status of the test case. Required. |\n| `skippedMessage` | `string` Why the test case was skipped. Present only for skipped test case |\n| `testCaseReference` | `object (`[TestCaseReference](/docs/test-lab/reference/toolresults/rest/v1beta3/TestCaseReference)`)` Test case reference, e.g. name, class name and test suite name. Required. |\n| `toolOutputs[]` | `object (`[ToolOutputReference](/docs/test-lab/reference/toolresults/rest/v1beta3/ToolOutputReference)`)` References to opaque files of any format output by the tool execution. Note: This field is used in responses only. Any value specified here in a request is ignored. |\n\nTestStatus\n----------\n\nThe status of a test case.\n\n| Enums ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `passed` | Test passed. |\n| `failed` | Test failed. |\n| `error` | Test encountered an error |\n| `skipped` | Test skipped |\n| `flaky` | Test flaked. Present only for rollup test cases; test cases from steps that were run with the same configuration had both failure and success outcomes. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| ### [get](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories.executions.steps.testCases/get) | Gets details of a Test Case for a Step. |\n| ### [list](/docs/test-lab/reference/toolresults/rest/v1beta3/projects.histories.executions.steps.testCases/list) | Lists Test Cases attached to a Step. |"]]