get_tests_for_file
Locate test files for any source file using static analysis—no test execution needed. Supports Go, Python, TypeScript/JavaScript, and Rust conventions.
Instructions
Given a source file path, return the test files that exercise it. Static lookup — no test execution. Go: test.go in same directory. Python: test.py / *_test.py in same dir and tests/ sibling. TypeScript/JS: *.test.ts, *.spec.ts etc. Rust: returns source file itself (tests inline). Does not require start_lsp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |