e2e

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBuild

func GoBuild(pkgPath, tmpPrefix string) string

func NewBinary

func NewBinary(binaryPath, workingDir string) *binary

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL