Skip to content
@calycode/cli docs
GitHub Discord

test run

Usage

bash
$ caly-xano test run [options]

Options

FlagDescription
-i, --instance <instance>The instance name. This is used to fetch the instance configuration. The value provided at the setup command.
-w, --workspace <workspace>The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.
-b, --branch <branch>The branch name. This is used to select the branch configuration. Same as on Xano Interface.
-g, --group <name>API group name. Same as on Xano Interface.
-A, --allRegenerate for all API groups in the workspace / branch of the current context.
--print-output-dirExpose usable output path for further reuse.
-c, --config <path>Path to the test configuration file (.json or .js).
-e, --env <keyValue...>Inject environment variables (KEY=VALUE) for tests. Repeatable.
--ciCI mode: exit with code 1 if any tests fail. Use to block releases.
--fail-on-warningsIn CI mode, also fail if there are warnings (not just errors).