github.com/kintar/etxt@v0.0.9/run_coverhtml.sh (about) 1 #!/bin/bash 2 3 # Notice: requires a test_font.ttf file in etxt/ 4 # (any normal font will work) 5 go test -tags gtxt ./... -coverprofile cover_prof.out > /dev/null 6 go tool cover -html=cover_prof.out 7 rm cover_prof.out