Interaction-Based Examples
Example using contains validation
contains validationSuite file
# suite.yaml
name: Example Suite
description: Suite used as an example
environmentName: production
# Optional: Create a new user session for each test (default: false)
# When enabled, each test will run with a fresh user session
newSessionPerTest: true
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 20 days ago