package
0.0.0-20171031191540-83e654d595ec
Repository: https://github.com/smancke/guble.git
Documentation: pkg.go.dev
# Functions
EnableDebugForMethod enables debug-level output through the current test Usage: testutil.EnableDebugForMethod()().
EnableInfoForMethod enables info-level output through the current test Usage: testutil.EnableInfoForMethod()().
ExpectDone waits to receive a value in the doneChannel for at least a second or fails the test.
ExpectPanic expects a panic (and fails if this does not happen).
No description provided by the author
NewMockCtrl initializes the `MockCtrl` package var and returns a method to finish the controller when test is complete **Important**: Don't forget to call the returned method at the end of the test Usage: ctrl, finish := test_util.NewMockCtrl(t) defer finish().
No description provided by the author
ResetDefaultRegistryHealthCheck resets the existing registry containing health-checks.
SkipIfDisabled skips a test if the GO_TEST_DISABLED environment variable is set to any value (when `go test` runs).
SkipIfShort skips a test if the `-short` flag is given to `go test`.
# Variables
MockCtrl is a gomock.Controller to use globally.