View definition

(*Program).CreateTestMainPackage

Defined in github.com/golang/tools/go/ssa/testmain.go

Description

CreateTestMainPackage creates and returns a synthetic "main" package that runs all the tests of the supplied packages, similar to the one that would be created by the 'go test' tool.

It returns nil if the program contains no tests.

CreateTestMainPackage is referenced in 18 repositories

github.com/golang/tools github.com/audreylim/go-presenter go.googlesource.com/tools

...