Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapCommand ¶
WrapCommand adjusts a command and arguments to run emuldated by a go test binary wrapped with WrapTestMain
func WrapTestMain ¶
WrapTestMain can be used in TestMain to wrap the go test binary with basic command emulation, normalizing the test environment across platforms.
Usage:
func TestMain(m *testing.M) { commandtest.WrapTestMain(m) }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.