Documentation
¶
Overview ¶
Package testutilsext is purely for test utilities that may access other packages in the codebase that tend to use testutils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyTestMain ¶
func VerifyTestMain(m goleak.TestingM, opts ...VerifyTestMainOpt)
VerifyTestMain preforms various runtime checks on code that tests run.
Types ¶
type VerifyTestMainOpt ¶ added in v0.3.1
type VerifyTestMainOpt func(*verifyTestMainOpts)
VerifyTestMainOpt is a type used to configure the behavior of VerifyTestMain.
func WithDisableGoleak ¶ added in v0.4.1
func WithDisableGoleak() VerifyTestMainOpt
WithDisableGoleak disables goleak in the current package.
func WithLeakOpt ¶ added in v0.3.1
func WithLeakOpt(opt goleak.Option) VerifyTestMainOpt
WithLeakOpt applies the provided goleak.Option to the goroutine leak detection performed by VerifyTestMain.
Click to show internal directories.
Click to hide internal directories.