Skip to main content

Reference

A suite is a yaml file with the following structure:

Session Management

By default, all tests within a suite share the same user session (user ID). This means that:
  • Variables set in one test persist to the next test
  • The conversation context carries over between tests
  • Tests are executed sequentially with the same user state
If you want each test to start with a fresh session, set newSessionPerTest: true. This will:
  • Generate a new user ID for each test
  • Clear all conversation context between tests
  • Ensure tests are completely isolated from each other

JSON Schema

voiceflow-cli also has a jsonschema file, which you can use to have better
editor support:
You can also specify it in your yml config files by adding a
comment like the following: