ktm tests validate

Validate a test JSON file without creating it

Validate a test JSON file without creating it

Usage

ktm tests validate [flags]

Examples

# Validate a test file
ktm tests validate --from-file test.json

# Pipeline: generate, validate, create
ktm tests template ETH_HTTP_API > test.json
# ... edit test.json ...
ktm tests validate --from-file test.json
ktm tests create --from-file test.json --product my-operator~my-product

Flags

FlagTypeDefaultDescription
--from-filestringPath to JSON file to validate (required)

Details

Dry-run validate a test JSON payload without hitting the API.

Checks: action types, owner presence, required command fields, variables structure. Returns structured errors and warnings with JSON paths.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on