diff --git a/Makefile b/Makefile index a21778c..5b78dab 100644 --- a/Makefile +++ b/Makefile @@ -18,3 +18,7 @@ run: build debug: build cd ${cmd_dir} && \ ${debugger} exec ./${binary} + +test: + @echo " > Running unit tests" + go test -cover -race -coverprofile=coverage.txt -covermode=atomic -v ./...