Resource: TestCase
JSON representation |
---|
{ "testCaseId": string, "elapsedTime": { object ( |
Fields | |
---|---|
testCaseId |
A unique identifier within a Step for this Test Case. |
elapsedTime |
The elapsed run time of the test case. Required. |
startTime |
The start time of the test case. |
endTime |
The end time of the test case. |
stackTraces[] |
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. |
status |
The status of the test case. Required. |
skippedMessage |
Why the test case was skipped. Present only for skipped test case |
testCaseReference |
Test case reference, e.g. name, class name and test suite name. Required. |
toolOutputs[] |
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. |
TestStatus
The status of a test case.
Enums | |
---|---|
passed |
Test passed. |
failed |
Test failed. |
error |
Test encountered an error |
skipped |
Test skipped |
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. |
Methods |
|
---|---|
|
Gets details of a Test Case for a Step. |
|
Lists Test Cases attached to a Step. |