Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ lint:
test-unit:
@echo "Running unit tests..."
@go mod tidy
@go test -v ./internal/...
@go test -v -p=8 -parallel=8 -timeout=3m ./internal/...

# Run all tests (unit + integration) — requires a built binary for integration tests
test-all: build
@echo "Running all tests..."
@go mod tidy
@go test -v ./...
@go test -v -p=8 -parallel=8 -timeout=5m ./...

# Legacy target: run unit tests (for backward compatibility)
test: test-unit
Expand All @@ -69,7 +69,7 @@ test-integration:
echo "Binary not found. Building..."; \
$(MAKE) build; \
fi
@go test -v ./test/integration/...
@go test -v -timeout 5m ./test/integration/...

# Run unit tests with race detection (catches concurrent data races)
# The MCP Gateway is a concurrent server; use this to validate thread safety.
Expand Down
Loading