Skip to content

Commit

Permalink
Merge pull request #4 from companieshouse/output-test-coverage
Browse files Browse the repository at this point in the history
Add flag for outputting coverage to unit test target in Makefile
  • Loading branch information
jsimons1989 authored Dec 13, 2019
2 parents 66e2a58 + 17f3854 commit 06f59c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ test: test-unit

.PHONY: test-unit
test-unit:
go test $(TESTS) -run 'Unit'
go test $(TESTS) -run 'Unit' -coverprofile=coverage.out

0 comments on commit 06f59c3

Please sign in to comment.