e2e

package
Version: v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MPL-2.0 Imports: 8 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL