Back to Docs

yapi test

Run all *.test.yapi.yml files in the current directory or specified directory

yapi test [directory] [flags]

Options

  -a, --all          Run all *.yapi.yml files (not just *.test.yapi.yml)
  -e, --env string   Target environment from yapi.config.yml
  -h, --help         help for test
  -v, --verbose      Show verbose output for each test

Options inherited from parent commands

      --binary-output   Display binary content to stdout (by default binary content is hidden when outputting to a terminal)
      --no-color        Disable color output
  -u, --url string      Override the URL specified in the config file

SEE ALSO

  • yapi - yapi is a unified API client for HTTP, gRPC, and TCP
Auto generated by spf13/cobra on 18-Dec-2025