package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 19, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package test provides testing utilities.
Assembles asserts that the given assembly code passes the go assembler.
Exec executes the named program with the given arguments, logging the command
and output and failing the test on error.
ExecCommand executes the command, logging the command and output and failing
the test on error.
GoTool returns a best guess path to the "go" binary.
Logger builds a logger that writes to the test object.
TempDir creates a temp directory. Returns the path to the directory and a
cleanup function.
Writer builds a writer that logs all writes to the test object.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.