From e0f401f0a96ea3710405b2c01685e58bbeacb50c Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sun, 23 Jun 2024 13:13:21 +0200 Subject: [PATCH] feat(Makefile): pretty test output with tparse --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9304e15..5dd9215 100644 --- a/Makefile +++ b/Makefile @@ -32,5 +32,12 @@ local-db-seed: .PHONY: test test: - @echo "Running tests..." - @go test -v ./... + @go test -v -json ./... | tparse -all + +.PHONY: verbose-test +verbose-test: + @go test -v -cover ./... + +.PHONY: coverage +coverage: + @go test -v -cover -json ./... | tparse