Add gotestsum as a tool and use junit format to get test analysis

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-26 11:34:05 +04:00
parent defb566287
commit e1989e002f
4 changed files with 29 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ GOOS?=
GO_BASE= CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) go
GO_BUILD= $(GO_BASE) build $(LDFLAGS) $(GCFLAGS)
GO_GENERATE= $(GO_BASE) generate
GO_TEST= $(GO_BASE) test $(TEST_FLAGS)
GO_TEST= $(GO_BASE) tool gotestsum -- $(TEST_FLAGS)
GO_VET= $(GO_BASE) vet
TEST_FLAGS?= -race -cover -coverprofile=coverage.out