From f8621843208553e5de89a19f12ac378fe4a3ddfc Mon Sep 17 00:00:00 2001 From: Philip Krauss Date: Fri, 22 Dec 2023 11:18:03 +0100 Subject: [PATCH] move to gotestsum --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6a118c3..15b10af 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,10 @@ smoke-test: ## smoke tests @cd internal/smoke-tests && go run . && cd ../.. test: ## run unit tests - @echo "Running unit tests" - @go test -v -count=1 -cover -race ./xata + TEST_DIRECTORY=./xata go run gotest.tools/gotestsum@latest --format testname integration-test: ## run integration tests - @echo "Running integration test" - @go test -v -count=1 -cover -race ./internal/integration-tests + TEST_DIRECTORY=./internal/integration-tests go run gotest.tools/gotestsum@latest --format testname $(MAKE) clean-workspaces download-openapi-specs: ## download openapi specs