Practicing Data Structures, Algorithms, Concurrency, and more in Go!
From the go-practice root directory, Practice/go-practice
, you can execute these commands:
$ go test ./...
$ go test ./... -run TestName -cover
Tip: adding the -cover
flag tells the test runner to keep track of observed program coverage.
I'm using the following material as a reference: