Documentation
¶
Overview ¶
Package build provides test helpers for compiling Go binaries. It ensures that build artifacts are isolated and automatically cleaned up after the tests finish.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Binary ¶
Binary compiles the Go source code located at the src directory and writes the resulting executable to dst within a temporary directory. It returns the absolute path to the compiled binary. The test framework automatically removes the executable and its directory when the test completes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.