Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBinary ¶
NewBinary prepares a temporary directory containing the files from the given fixture and returns an instance of type binary that can run the generated binary in that directory.
If the temporary directory cannot be created, a fixture of the given name cannot be found, or if an error occurs while _copying_ the fixture files, this function will panic. Tests should be written to assume that this function always succeeds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.