go test -project
I wonder why there is no builtin command to run all tests in a project. Using
go test ./... is in my opinion too verbose/much to type and not very go-like.
The current default behavior of running only package-local tests is not intuitive. I would expect that
go test would run all tests of a project and that something like
go test -package would run all tests of a given package. Beside of that, there should probably be a way to run tests of used libraries as well, maybe something like
go test -all.
Submitted August 13, 2017 at 04:33PM by Paradiesstaub
via reddit http://ift.tt/2vuoc4D