Discover Packages
github.com/gopherium/framework/gonsole
testkit
package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Oct 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package testkit runs programs built on gonsole from tests, in process and as built binaries.
CoverBinary returns the cover built binary called name and its environment, skipping outside a cover run.
FreeAddr returns a loopback address whose port nothing listens on.
Getenv returns a getenv that reads only values.
WaitForListening blocks until the server logs on stderr that it is listening.
Result is what one in process run answers.
Run runs p with args in process, feeding stdin, and answers its exit code and output.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.