Documentation ¶
Overview ¶
Package testing provides support for end-to-end functional tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Runner ¶
Runner can be used in a TestMain function for package tests to ensure that their dependencies have been initialized properly. To use it, your TestMain function should look like:
func TestMain(m *testing.M) { nilgo.Run( nilgo.WithGoLeak(), fixtures_and_runners..., nilgo.Runner(m), ) }
See https://golang.org/pkg/testing/#hdr-Main for more details.
Types ¶
Click to show internal directories.
Click to hide internal directories.