Documentation
¶
Index ¶
- func FixLogger() (cancel func())
- func InstallFile(t *testing.T, srcFile, dstFile string)
- func Main(m *testing.M, execute func([]string))
- func RunCmd(t *testing.T, name string, args ...string)
- func SetExecutable(t *testing.T, head string) string
- func TCPPortAvailable(port string) error
- func Trace(t *testing.T)
- type Env
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixLogger ¶
func FixLogger() (cancel func())
FixLogger temporarily changes the global log level to Info and increases the caller skip frame count by 1, returning a cancellation function to restore the previous settings.
func InstallFile ¶
func TCPPortAvailable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.