Documentation
¶
Overview ¶
Package testhelper implements helpers for testing ensure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowAnyTestContexts ¶
AllowAnyTestContexts allows any test contexts to be used for the scope of t. It causes NewTestContext to fallback to the default testctx.New implementation.
func NewTestContext ¶
NewTestContext is called instead of testctx.New and is setup in ../../init_test.go. This shouldn't be used by anything else.
func SetTestContext ¶
SetTestContext connects the provided targetT to the provided context to be surfaced by NewTestContext. It is disconnected when t goes out of scope.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.