cmd/go: [modules + integration] go mod test, execute all the unit tests of a module #31324
Labels
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
This report is part of a series, filled at the request of @mdempsky, focused at making Go modules integrator-friendly.
Please do not close or mark it as duplicate before making sure you’ve read and understood the general context. A lot of work went into identifying problems points precisely.
Needed feature
Go needs an official
go mod test
command that executes all the unit tests of a particular Go module, to make sure it is healthy.Constrains
module path
, ormodule path
+module version
, orfilesystem path
of a specificmod
module descriptorgo.mod
file at the root of an unpacked module tree, ormod
file inside a goproxy hierarchygo test
flags should applygo get
download from the internetMotivation
Go modules are wonderful and exciting, until you realise they only deal with the code download part. One stills need to dissect individual Go packages in the next stages of a CI/CD Go-related job.
The Go module concept should be extended to the rest of Go code processing phases.
The text was updated successfully, but these errors were encountered: