Find Untested Functions
find_untested_functionsScan source files to identify functions and methods lacking corresponding test files, enabling targeted test creation.
Instructions
Scan source files for function/method declarations and identify those with no corresponding test 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": {
"source_dir": "<source_dir>"
},
"name": "find_untested_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_dir | No | Directory containing test files. Defaults to same directory as source. | |
| extensions | No | File extensions to include, e.g. [".ts", ".js"]. Defaults to [".ts", ".tsx", ".js", ".jsx"]. | |
| source_dir | Yes | Directory containing source files to scan. |