Documentation
¶
Overview ¶
Package testutil provides test-only helpers shared across packages. It is a function-only library with no global state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load reads testdata/<name> by walking up from the current package directory looking for a "testdata" sibling. It fails the test if the file (or the testdata directory) cannot be located.
The walk-up strategy lets test files in any subpackage share a single repo-root testdata/ tree without duplicating fixture files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.