Skip to content

Commit 9ee3e8b

Browse files
author
Matthew Fisher
committed
feat(logger): add make test/coverage
1 parent 551446d commit 9ee3e8b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

logger/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ full-clean: clean
3030
test: test-unit test-functional
3131

3232
test-unit:
33-
@echo no unit tests
33+
go test -v -cover ./syslog
3434

3535
test-functional:
3636
GOPATH=$(CURDIR)/../tests/_vendor:$(GOPATH) go test -v ./tests/...
37+
38+
coverage:
39+
go test -coverprofile coverage.out ./syslog
40+
go tool cover -html=coverage.out

0 commit comments

Comments
 (0)