generate_test_skeleton
Emit a unittest.TestCase skeleton for a given symbol to close coverage gaps. Use it after finding untested code to get a starter test file.
Instructions
Emit a unittest.TestCase skeleton for a given symbol. Pairs with find_coverage_gaps to close the 'what's untested → write a stub' loop: find the gap, then call this tool with the symbol name to get a starter file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>",
"symbol": "<symbol>"
},
"name": "generate_test_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||