find_tests
Find test files for any source file using naming patterns and import reverse lookup. Optionally filter by symbol to locate related tests.
Instructions
Find test files for a source file (naming + import reverse lookup). Run them? test_bridge. AUTO-FRESH: files modified after last index are re-indexed automatically on read — explicit reindex only needed for brand-new workspaces/files.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Source file path relative to workspace_dir (e.g. "src/auth.py") | |
| symbol | No | Optional: narrow to tests referencing a specific symbol | |
| workspace_dir | Yes | REQUIRED: project root (abs). |