We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f42d70 commit 080bb68Copy full SHA for 080bb68
Makefile
@@ -66,6 +66,13 @@ test:
66
integration-tests:
67
@echo "Running integration tests..."
68
@echo "Note: This requires Docker to be running"
69
+ @echo "Checking test naming conventions..."
70
+ @INVALID_TESTS=$$(grep "^func Test" cmd/cli/commands/integration_test.go | grep -v "^func TestIntegration"); \
71
+ if [ -n "$$INVALID_TESTS" ]; then \
72
+ echo "Error: Found test functions that don't start with 'TestIntegration':"; \
73
+ echo "$$INVALID_TESTS" | sed 's/func \([^(]*\).*/\1/'; \
74
+ exit 1; \
75
+ fi
76
@BUILD_DMR=$(BUILD_DMR) go test -v -race -count=1 -run "^TestIntegration" -timeout=5m ./cmd/cli/commands
77
@echo "Integration tests completed!"
78
0 commit comments