pg_test_target
Run targeted unit tests on specific relative files or directories, with an optional test-name filter to narrow which tests execute.
Instructions
Run targeted unit tests on specific relative files/directories with optional test-name filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pg_test_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Workspace slot name (optional if only one slot is open or `--slot` default is set). | |
| runner | No | ||
| sub_id | No | Optional sub-worktree ID. | |
| targets | No | Relative test file or directory paths. | |
| k_filter | No | Optional test name pattern filter (-k / -run). |