github.com/grafana/synthetic-monitoring-agent@v0.64.2/scripts/report-test-coverage (about) 1 #!/bin/sh 2 3 printf 'Overall test coverage: ' 4 go tool cover -func "$1" | 5 grep ^total: | 6 expand | 7 tr -s ' ' | 8 cut -d ' ' -f3