Zuplo CLI

Zuplo CLI: Test

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedSelf-Hosted
Runs the tests under /tests against an endpoint
Code
zuplo test --endpoint <url> [options]

Examples

Run all tests against your deployed API

Code
zuplo test --endpoint https://your-api-123abc.zuplo.app

Run only tests matching 'auth' in their name

Code
zuplo test --endpoint https://your-api-123abc.zuplo.app --filter 'auth'

Run tests matching a regex pattern

Code
zuplo test --endpoint https://your-api-123abc.zuplo.app --filter '/api\/v1/'

Run everything except tests tagged [slow] in their name

Code
zuplo test --endpoint https://your-api-123abc.zuplo.app --skip-filter '\[slow\]'

Run tests with environment variables

Code
MY_VAR=example zuplo test --endpoint https://your-api-123abc.zuplo.app

Options

--endpoint

The URL of the Zuplo API to test against

Type: string

--filter

A filter to run a subset of tests (e.g., --filter 'test name' or --filter '/test-name-regex/')

Type: string

--skip-filter

Skip tests whose name matches this pattern (e.g., --skip-filter '\[deep\]'). Applied after --filter.

Type: string

--only

Run only the tests and suites marked with .only. Without this flag Node ignores .only and runs everything.

Type: boolean

Global options

The following global options are available for all commands:

Additional resources

Last modified on