Add coverage.sh

This commit is contained in:
Noah Hilverling 2019-02-26 14:29:33 +01:00
parent a776d64f9c
commit 6299908ed3
2 changed files with 5 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
coverage\.html

3
coverage.sh Executable file
View file

@ -0,0 +1,3 @@
go test -race -cover -coverprofile=c.out
go tool cover -html=c.out -o coverage.html
rm c.out