@@ -46,15 +46,19 @@ install: build ## Install the binary with version information
4646
4747test : # # Run unit tests only
4848 @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running unit tests...$( COLOR_RESET) "
49- @go test -v ./...
49+ @go test -race - v ./...
5050
5151test-integration : build # # Run integration tests only
5252 @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running integration tests...$( COLOR_RESET) "
53- @go test -tags=integration -v ./...
53+ @go test -race - tags=integration -v ./...
5454
55- test-all : test test-integration # # Run all non-e2e tests (unit + integration)
55+ test-all : test test-integration # # Run all non-e2e tests (unit + integration, with race detector )
5656 @echo " $( COLOR_GREEN) All tests passed ✓$( COLOR_RESET) "
5757
58+ test-quick : # # Run unit tests without race detector (faster)
59+ @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running quick unit tests...$( COLOR_RESET) "
60+ @go test -v ./...
61+
5862test-e2e : build # # Run E2E tests
5963 @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running E2E tests...$( COLOR_RESET) "
6064 @cd e2e && $(MAKE ) test
@@ -63,9 +67,7 @@ test-e2e-quick: build ## Run quick E2E smoke tests
6367 @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running E2E smoke tests...$( COLOR_RESET) "
6468 @cd e2e && $(MAKE ) test-quick
6569
66- test-race : # # Run tests with race detector
67- @echo " $( COLOR_BLUE) $( COLOR_BOLD) Running tests with race detector...$( COLOR_RESET) "
68- @go test -race -v ./...
70+ test-race : test test-integration # # Alias for test-all (race detector now enabled by default)
6971 @echo " $( COLOR_GREEN) Race detection complete ✓$( COLOR_RESET) "
7072
7173clean : # # Remove build artifacts
0 commit comments