Skip to content

Commit da5d189

Browse files
committed
fix: include cmd package tests in Makefile test targets
The test-unit target was only running ./internal/... tests, excluding all CLI command tests in the cmd package. This meant that 47 tests in cmd/{delete,deploy,diff,root}_test.go were not being executed by the standard development workflow. Updated test-unit target to run both ./cmd/... and ./internal/... tests, ensuring complete test coverage in make test and make commit-check.
1 parent a16e7f6 commit da5d189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test: test-unit ## Run all tests
5757

5858
test-unit: ## Run unit tests
5959
@echo "🧪 Running unit tests..."
60-
@go test -v ./internal/...
60+
@go test -v ./cmd/... ./internal/...
6161

6262
test-aws: build-test-aws ## Run AWS module test program (dry-run)
6363
@echo "🔍 Testing AWS module..."

0 commit comments

Comments
 (0)