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
| Flag | Type | Default | Description |
|---|---|---|---|
--from-file | string | Path 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.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on