File tree Expand file tree Collapse file tree 4 files changed +299
-200
lines changed
Expand file tree Collapse file tree 4 files changed +299
-200
lines changed Original file line number Diff line number Diff line change 2929 run : |
3030 make test-api
3131 make test-internal
32+ make test-unit
Original file line number Diff line number Diff line change @@ -148,6 +148,14 @@ test-internal: fmt vet copywrite ## Run internal/* tests.
148148 ./internal/pointer \
149149 ./internal/slice
150150
151+ .PHONY : test-unit
152+ test-unit : fmt vet copywrite # # Run internal/controller tests.
153+ go test ./internal/controller/... \
154+ -timeout 5m \
155+ -count 1 \
156+ -v \
157+ -run=" ^Test(DoNotRequeue|RequeueAfter|RequeueOnErr|FormatOutput|FinalizerBehaviors|MatchWildcardName|ValidateTFEVersion)$$ "
158+
151159.PHONY : test-helm
152160test-helm : # # Run Helm chart tests.
153161 cd charts/test; go test -timeout 5m -count=1 -v ./...
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ require (
1111 github.com/onsi/ginkgo/v2 v2.23.4
1212 github.com/onsi/gomega v1.36.3
1313 github.com/prometheus/client_golang v1.22.0
14+ github.com/stretchr/testify v1.11.1
1415 go.uber.org/zap v1.27.0
1516 k8s.io/api v0.34.1
1617 k8s.io/apimachinery v0.34.1
You can’t perform that action at this time.
0 commit comments