go test -project


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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s