diff --git a/Makefile b/Makefile index a38a103109333a2de5a734f7450d711b46e7e186..915687afdefbe530a206ec7bf48f5e7c5606e9e3 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ assets: httpbin/templates/*.html test: go test -v github.com/mccutchen/go-httpbin/httpbin +testcover: + mkdir -p dist + go test -coverprofile=dist/coverage.out github.com/mccutchen/go-httpbin/httpbin + go tool cover -html=dist/coverage.out + run: build ./dist/go-httpbin