Go 1 · Testing and profiling Measure coverage Print the percentage of statements covered by tests. go test -cover ./... Official Go 1 documentation More testing and profiling commands Run all testsRun tests verboselyRun matching testsDetect data racesBypass the test cacheView coverage in the browser All testing and profiling commands · Go 1 cheatsheet ← Bypass the test cacheView coverage in the browser →