Class TestCase (1.5.0)

TestCase(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a test case.

Attributes

NameDescription
name str
The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/.
tags Sequence[str]
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_name str
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
notes str
Additional freeform notes about the test case. Limit of 400 characters.
test_config google.cloud.dialogflowcx_v3.types.TestConfig
Config for the test case.
test_case_conversation_turns Sequence[google.cloud.dialogflowcx_v3.types.ConversationTurn]
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_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the test was created.
last_test_result google.cloud.dialogflowcx_v3.types.TestCaseResult
The latest test result.