ktm tests dry-run
Preview the impact of editing a test without applying changes
Preview the impact of editing a test without applying changes
Usage
ktm tests dry-run <id> [flags]
Examples
# Preview impact of editing actions
ktm tests dry-run 16480 --from-file updated.json
# Preview name change
ktm tests dry-run 16480 --name "New Name"
# Preview impact of re-pinning the API group
ktm tests dry-run 16480 --variant API:Dev
Arguments
| Argument | Required |
|---|---|
id | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--auto-correct-kinds | boolean | Rewrite declared input_variable kinds to match the platform's variable types. | |
--description | string | Override the test description | |
--from-file | string | Path to JSON file with updated test definition | |
--name | string | Override the test name | |
--variant | string[] | Re-pin a variant for one variable group. Repeatable. Forms: '5' (numeric variant ID) or 'API:Staging' (group:variant by name). Groups not pinned retain their existing bucket. |
Details
Dry-run a test edit to see which tests would be invalidated and which monitorings would be deactivated. No changes are applied.
Use this before "tests edit" to understand the blast radius. Accepts the same --variant and --auto-correct-kinds flags as edit so you can preview what re-pinning would invalidate.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on