Skip to content

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

Field Information#

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.

Technical Information#

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

→ .halguru.yaml#

→ Reference Index#

→ Configuration Files#


Last updated: 2026-09-18
Autogenerated: Yes
Core version: 1.93.0