I have a set of long running tests, defined with the build tag. For example,
// file some_test.go
//+build func_test
(rest of file with test cases)
And I have many other shorter running tests, without this build flag. Is there a way I can easily run only the tests containing the build tag "func_test"?
Note that if I just run go test -tags func_test
, it runs ALL tests including the ones in some_test.go
.