gograph_fixtures
Identify test helper structs and factory functions already defined in a Go package's test files to prevent redundant test infrastructure.
Instructions
Find test helper structs and factory/builder functions declared in *_test.go files for a named package. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: Before writing new tests — check what test infrastructure (helper builders, stub factories, shared setup structs) already exists in the package to avoid duplication. NOT TO USE: For test functions that exercise a symbol (use gograph_tests); for external test data files on disk (those are not tracked in the graph — use filesystem search). RETURNS: Symbols defined in test files for the package including helper structs and factory functions; empty when the package has no test helper infrastructure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package path or name (e.g., 'internal/auth') |