Interaction-Based Examples
Example using contains validation
contains validationSuite file
# suite.yaml
name: Example Suite
description: Suite used as an example
environmentName: production
tests:
- id: test_id
file: ./test.yamlTest file
# test.yaml
name: Example test
description: These are some tests
interactions:
- id: test_1
user:
type: text
text: hi
agent:
validate:
- type: contains
value: hello# test.yaml
name: Example test
description: These are some tests
interactions:
- id: test_1
user:
type: text
text: hi
agent:
validate:
- type: contains
value: helloUpdated 4 months ago