Resource: TestCase
Represents a test case.
JSON representation |
---|
{ "name": string, "tags": [ string ], "displayName": string, "notes": string, "testConfig": { object ( |
Fields | |
---|---|
name |
The unique identifier of the test case. |
tags[] |
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters. |
display |
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters. |
notes |
Additional freeform notes about the test case. Limit of 400 characters. |
test |
Config for the test case. |
test |
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly. |
creation |
Output only. When the test was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
The latest test result. |
TestConfig
Represents configurations for a test case.
JSON representation |
---|
{ "trackingParameters": [ string ], "flow": string, "page": string } |
Fields | |
---|---|
tracking |
Session parameters to be compared when calculating differences. |
flow |
Flow name to start the test case with. Format: Only one of |
page |
The Only one of |
Methods |
|
---|---|
|
Batch deletes test cases. |
|
Kicks off a batch run of test cases. |
|
Calculates the test coverage for an agent. |
|
Creates a test case for the given agent. |
|
Exports the test cases under the agent to a Cloud Storage bucket or a local file. |
|
Gets a test case. |
|
Imports the test cases from a Cloud Storage bucket or a local file. |
|
Fetches a list of test cases for a given agent. |
|
Updates the specified test case. |
|
Kicks off a test case run. |