Run tests:
go test
Run verbose tests:
go test -v
Run tests from all subdirectories:
go test ./...
Run tests showing the coverege:
go test -cover
Run tests creating a external file with coverege details:
go test -coverprofile=coverege-file.out
Reading the coverege file to show details on the terminal:
go tool cober -func=coverege-file.out
Reading the coverege file to show details in html:
go tool cover -html=coverege-file.out