Skip to main content
Glama

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
NameRequiredDescriptionDefault
fileYesSource file path relative to workspace_dir (e.g. "src/auth.py")
symbolNoOptional: narrow to tests referencing a specific symbol
workspace_dirYesREQUIRED: project root (abs).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wulun811/LiuHe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server