Zuplo CLI
Zuplo CLI: Test
Runs the tests under /tests against an endpoint
Code
Examples
Run all tests against your deployed API
Code
Run only tests matching 'auth' in their name
Code
Run tests matching a regex pattern
Code
Run everything except tests tagged [slow] in their name
Code
Run tests with environment variables
Code
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:
booleanGlobal options
The following global options are available for all commands:
Additional resources
Last modified on