From 4ece6f1195df3121c8a551de308d94ced7bc63c1 Mon Sep 17 00:00:00 2001
From: Will McCutchen <will@mccutch.org>
Date: Wed, 12 Oct 2016 10:06:11 -0700
Subject: [PATCH] Add `make testcover` command

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index a38a103..915687a 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
 
-- 
GitLab