Test With Go Course from usegolang.com
To run all test in subpackages
go test ./...It will cache test result. To delete cache test result:
go clean -testcacheTo see list of package
for pkg in *; do echo "./$pkg"; doneTo test package sequencely
for pkg in *; do go test "./$pkg"; done To see list of file
for pkg in */**; do echo "./$pkg"; done