-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 832 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (26 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.PHONY: test test-verbose test-coverage clean
# Test all modules
test:
@echo "Testing all modules..."
@find . -name "go.mod" -execdir go test \;
# Test all modules with verbose output
test-verbose:
@echo "Testing all modules (verbose)..."
@find . -name "go.mod" -execdir go test -v \;
# Test all modules with coverage
test-coverage:
@echo "Testing all modules with coverage..."
@find . -name "go.mod" -execdir go test -cover \;
# Test specific modules that have tests
test-modules:
@echo "Testing helmet modules..."
@cd core && go test -cover
@cd beegohelmet && go test -cover
@cd echohelmet && go test -cover
@cd fiberhelmet && go test -cover
@cd ginhelmet && go test -cover
@cd zerohelmet && go test -cover
# Clean all modules
clean:
@echo "Cleaning all modules..."
@find . -name "go.mod" -execdir go clean \;