所有命令 · 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 | 可选 |
| --background | Run linked tests in managed background mode | 可选 |
| --timeout <seconds> | Default run timeout in seconds | 可选 |
| --progress | Emit linked-test progress to stderr (always shown in TTY, opt-in for non-TTY) | 可选 |
| --env-set <value> | Set environment variable(s) for linked-test runs (KEY=VALUE, repeatable) | 可选 |
| --env-clear <value> | Clear environment variable(s) for linked-test runs (NAME, repeatable) | 可选 |
| --shared-host-safe | Apply additive shared-host-safe runtime defaults for linked-test runs | 可选 |
| --pm-context <mode> | PM test context: schema|tracker|auto|none (default: schema) | 可选 |
| --override-linked-pm-context | Force run-level --pm-context to override per-linked-test pm_context_mode metadata | 可选 |
| --workspace-context <mode> | Source-workspace mode: source|isolated|snapshot (default: source) | 可选 |
| --override-linked-workspace-context | Force run-level --workspace-context over per-linked-test metadata | 可选 |
| --allow-untrusted-linked-tests | Execute untrusted linked commands when project policy also permits it | 可选 |
| --fail-on-context-mismatch | Fail linked PM commands when context item counts differ | 可选 |
| --fail-on-skipped | Treat skipped linked tests as dependency failures | 可选 |
| --fail-on-empty-test-run | Treat successful linked-test commands that report zero executed tests as failures | 可选 |
| --require-assertions-for-pm | Require assertion metadata for linked PM command tests | 可选 |
| --check-context | Preflight linked PM command context diagnostics before executing commands | 可选 |
| --auto-pm-context | Auto-remediate PM tracker-read context mismatches by routing those linked commands through tracker context | 可选 |
示例
pm ops test-all --status in_progress --limit 5 --offset 10 --timeout 2400