How to `go test` all tests in my project?

The go test command covers *_test.go files in only one dir.

I want to go test the whole project, which means the test should cover all *_test.go files in the dir ./ and every children tree dir under the dir ./.

What’s the command to do this?

3 Answers
3

Leave a Comment