TestCases[]
.halguru.yaml ➤ TestCases[]
Represents a collection of test cases designed to validate the behavior of an agent within the system under various input and execution conditions.
TestCases:
- Name: Test 1
QuestionMessage: 2+2? Answer as one number.
AnswerMessageContains: []
AnswerMessageRegex: 4
| Name |
Description |
| Title |
Test Cases |
| Field Type |
ObjectList |
| Required |
False |
Field List
Name is the primary key and should be unique in the TestCases[] list.
| Name |
Type |
Required |
Description |
| Name |
Text |
✔️ |
The name of the test case. |
| QuestionMessage |
Prompt |
✔️ |
The question or input message directed to the agent. |
| AnswerMessageContains[] |
SimpleList |
|
A list of substrings that the output message is expected to contain. |
| AnswerMessageRegex |
Text |
|
A regular expression pattern that the agent's response should conform to. |
| Property |
Value |
| Path |
TestCases[] |
| Internal Type |
AgentModels.SimpleTestCaseItem |
| Internal Root Type |
AgentHalGuru |
| File Extension |
.halguru.yaml |
| JSON Schema |
halguru-schema.json |
| Last updated: | | 2026-03-19 |
| Autogenerated: | | Yes |
| AI powered: | | Yes |
| Core version: | | 1.93.0 |