TestCases[]
.halguru.yaml ➤ TestCases
Represents the list of test cases used to validate and ensure the behavior of an agent meets its expected responses and specifications based on predefined scenarios.
TestCases:
- Name: Test 1
QuestionMessage: 2+2? Answer as one number.
AnswerMessageContains: []
AnswerMessageRegex: 4
Properties
| Name |
Type |
Required |
Description |
| Name |
Text |
✔️ |
The name of the test case. |
| QuestionMessage |
Text |
✔️ |
The question or input message directed to the agent. |
| AnswerMessageContains |
List |
|
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.TestCaseHalItem |
| Internal Root Type |
AgentHalConfiguration |
| File Extension |
.halguru.yaml |
| JSON Schema |
halguru-schema.json |
| Last updated: | | 2025-12-05 |
| Autogenerated: | | Yes |
| AI powered: | | Yes |
| Core version: | | 1.75.0 |