diff --git a/Makefile b/Makefile index ac8fd5e..7f64c81 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,13 @@ gen: protoc --proto_path pkg/accounts --go_out=plugins=grpc:pkg/accounts/ --go_opt=paths=source_relative pkg/accounts/accounts.proto test: + @echo Unit tests + go test -v ./... + + @echo Integration tests docker-compose up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests go tool cover -html=/tmp/coverage-data/c.out -o /tmp/coverage.html + @echo Done, coverage data can be found in /tmp/coverage.html .PHONY: build install test gen