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. |
displayName
|
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. |
testConfig
|
Config for the test case. |
testCaseConversationTurns[]
|
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. |
creationTime
|
Output only. When the test was created. 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: |
lastTestResult
|
The latest test result. |
TestConfig
Represents configurations for a test case.
JSON representation |
---|
{ "trackingParameters" : [ string ] , "flow" : string , "page" : string } |
Fields | |
---|---|
trackingParameters[]
|
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. |