No way to pass arguments to go test #78

Closed
mvdan opened this Issue Oct 31, 2016 · 1 comment

Projects

None yet

2 participants

@mvdan
mvdan commented Oct 31, 2016

I want to do go test -short, not go test. Instead of some flags being passed on, like -covermode and -v, flags starting with test. should be passed on to the test program. This is what test binaries do as well.

Then you could use -test.short, -test.v and such.

@nikkolasg
nikkolasg commented Dec 16, 2016 edited

I'm also very interested in any way to pass an arguments to go test such as -race as it does not seem to be the standard flags.

@mattn mattn added a commit that closed this issue Dec 16, 2016
@mattn add -flags to add extra flags for go test
close #78
61ac1a6
@mattn mattn closed this in 61ac1a6 Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment