Class TestCase (0.6.0)

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

Represents a test case. .. attribute:: name

The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>.

:type: str


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.
Config for the test case.
test_case_conversation_turns Sequence[]
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.
The latest test result.