Involved Source Files 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.
These variables below are set at runtime (via code in testmain) to point
to the equivalent functions in package internal/coverage/cfile; doing
things this way allows us to have tests import internal/coverage/cfile
only when -cover is in effect (as opposed to importing for all tests).
These variables below are set at runtime (via code in testmain) to point
to the equivalent functions in package internal/coverage/cfile; doing
things this way allows us to have tests import internal/coverage/cfile
only when -cover is in effect (as opposed to importing for all tests).
These variables below are set at runtime (via code in testmain) to point
to the equivalent functions in package internal/coverage/cfile; doing
things this way allows us to have tests import internal/coverage/cfile
only when -cover is in effect (as opposed to importing for all tests).
ImportPath is the import path of the testing binary, set by the generated main function.
The pages are generated with Goldsv0.6.9-preview. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.