Skip to content

TestCases[]

.halguru.yamlTestCases

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.

Technical Information#

Property Value
Path TestCases[]
Internal Type AgentModels.AgentTestCase
Internal Root Type AgentConfiguration
File Extension .halguru.yaml
JSON Schema halguru-schema.json

Last updated: 2025-10-13
Autogenerated: Yes
AI powered: Yes
Core version: 1.66.0