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

ArgumentRequired
idYes

Flags

FlagTypeDefaultDescription
--auto-correct-kindsbooleanRewrite declared input_variable kinds to match the platform's variable types.
--descriptionstringOverride the test description
--from-filestringPath to JSON file with updated test definition
--namestringOverride the test name
--variantstring[]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.

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