Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: skip finding external test dependencies for go build #29725
What version of Go are you using (
All modules in the module graph can affect the selected versions of other modules, so we must have at least the
Test dependencies must be included in the module graph: without them, test results are not reproducible.
@bcmills Thanks for response. But as you said
As I mentioned I'm not running any tests, that tests results do you have in mind?
The problem is that there is no way to describe dependency as being used only for tests. Why not add special comment like