get_tests_for_file
Find test files that exercise a given source file in Python, JavaScript, TypeScript, Go, or Rust using static pattern matching, with no test execution.
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 |