Resource: TestCaseResult
Represents a result from running a test case in an agent environment.
| JSON representation |
|---|
{ "name": string, "environment": string, "conversationTurns": [ { object ( |
| Fields | |
|---|---|
name |
The resource name for the test case result. Format: |
environment |
Environment where the test was run. If not set, it indicates the draft environment. |
conversationTurns[] |
The conversation turns uttered during the test case replay in chronological order. |
testResult |
Whether the test case passed in the agent environment. |
testTime |
The time that the test was run. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
TestResult
The test result for a test case and an agent environment.
| Enums | |
|---|---|
TEST_RESULT_UNSPECIFIED |
Not specified. Should never be used. |
PASSED |
The test passed. |
FAILED |
The test did not pass. |
Methods |
|
|---|---|
|
Gets a test case result. |
|
Fetches the list of run results for the given test case. |