diff --git a/Makefile b/Makefile index 4d6c63a..a461dda 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,9 @@ protoc: protoc-bin $(PROTOC) --experimental_editions --plugin=protoc-gen-go=$(GOBIN)/protoc-gen-go --go_out=. --go_opt=paths=source_relative $$f \ --plugin=protoc-gen-go-grpc=$(GOBIN)/protoc-gen-go-grpc --go-grpc_out=. --go-grpc_opt=require_unimplemented_servers=false,paths=source_relative $$f; \ done + +# Run Unit Test with go test +test: GOFLAGS ?= "-count=1" +test: + @echo "> Running go test" + @GOFLAGS="$(GOFLAGS)" go test ./... \ No newline at end of file