Documentation ¶
Overview ¶
Package testdeps provides access to dependencies needed by test execution.
This package is imported by the generated main package, which passes TestDeps into testing.Main. This allows tests to use packages at run time without making those packages direct dependencies of package testing. Direct dependencies of package testing are harder to write tests for.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestDeps ¶
type TestDeps struct{}
TestDeps is an implementation of the testing.testDeps interface, suitable for passing to testing.MainStart.
func (TestDeps) StopCPUProfile ¶
func (TestDeps) StopCPUProfile()
Click to show internal directories.
Click to hide internal directories.