How to `go test` all testings in my project? -
the go test
command covers *_test.go
files in 1 dir.
i want go test
whole project, means test should cover *_test.go
files in dir ./
, every chindren tree dir under dir ./
.
what's command this?
this should run tests in current directory , of subdirectories:
$ go test ./...
this should run tests import path prefixed foo/
:
$ go test foo/...
this should run tests import path prefixed foo
:
$ go test foo...
this should run tests in $gopath:
$ go test ...
Comments
Post a Comment