所有命令 · quality

pm ops test-all

Run linked tests across matching items.

Runs linked tests in bulk for release/readiness sweeps.

用法

pm ops test-all [options]

选项

--status <value>Filter items by status before running tests可选
--limit <n>Limit matching items before running linked tests可选
--offset <n>Skip matching items before running linked tests可选
--backgroundRun linked tests in managed background mode可选
--timeout <seconds>Default run timeout in seconds (requires --run)可选
--progressEmit stderr run progress (requires --run; automatic in TTY)可选
--env-set <value>Set run environment (KEY=VALUE, repeatable)可选
--env-clear <value>Clear run environment (NAME, repeatable)可选
--shared-host-safeApply additive shared-host-safe run defaults可选
--pm-context <mode>PM test context: schema|tracker|auto|none (default: schema)可选
--override-linked-pm-contextOverride stored context with --pm-context可选
--workspace-context <mode>Source-workspace mode: source|isolated|snapshot (default: source)可选
--override-linked-workspace-contextOverride stored context with --workspace-context可选
--allow-untrusted-linked-testsExecute untrusted linked commands when project policy also permits it可选
--fail-on-context-mismatchFail linked PM commands when context item counts differ可选
--fail-on-skippedTreat skipped linked tests as dependency failures可选
--fail-on-empty-test-runFail successful commands reporting zero executed tests可选
--require-assertions-for-pmRequire assertion metadata for linked PM command tests可选
--check-contextCheck PM context before execution可选
--auto-pm-contextRoute mismatched PM tracker reads through tracker context可选

示例

pm ops test-all --status in_progress --limit 5 --offset 10 --timeout 2400

相关命令