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 8cafabd commit ec06dcdCopy full SHA for ec06dcd
Makefile
@@ -107,7 +107,11 @@ vet: ## Run go vet against code.
107
108
.PHONY: test
109
test: manifests generate fmt vet envtest ## Run tests.
110
- KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile cover.out
+ KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)"
111
+ go test -coverprofile=coverage.out ./...
112
+
113
+coverage: test
114
+ cat coverage.out | grep -v /controllers/fake/ > cover.out; go tool cover -html=cover.out
115
116
##@ Build
117
0 commit comments