Skip to content
Snippets Groups Projects
Commit 4ece6f11 authored by Will McCutchen's avatar Will McCutchen
Browse files

Add `make testcover` command

parent bb9f7877
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,11 @@ assets: httpbin/templates/*.html ...@@ -10,6 +10,11 @@ assets: httpbin/templates/*.html
test: test:
go test -v github.com/mccutchen/go-httpbin/httpbin 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 run: build
./dist/go-httpbin ./dist/go-httpbin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment