Enhance Ginkgo unit test execution by specifying directories for tests in Makefile and Taskfile. Update README to reflect changes in test command usage and clarify the structure of unit tests.

This commit is contained in:
windyboy
2025-11-16 10:18:40 +08:00
parent 69fc8cf337
commit e440c057b5
4 changed files with 56 additions and 16 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ run-local: ## Run receiver directly via go run
test: ## Run unit tests (Ginkgo, verbose)
@command -v ginkgo >/dev/null || (echo "Please install ginkgo (go install github.com/onsi/ginkgo/v2/ginkgo@latest)"; exit 1)
@echo "Running Ginkgo unit test suites (verbose)..."
@ginkgo -r -v ./...
@ginkgo -r -v ./cmd ./internal
.PHONY: test-int
test-int: ## Run integration tests (requires Docker)