diff --git a/Makefile b/Makefile index 9cbbc91051..f7114e8201 100644 --- a/Makefile +++ b/Makefile @@ -156,6 +156,10 @@ test: ## Run go unit tests. GOFLAGS="-buildvcs=false" \ test/test.sh +.PHONY: helm-test +helm-test: ## Run helm unit tests. + helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml" + .PHONY: lua-test lua-test: ## Run lua unit tests. @build/run-in-docker.sh \ diff --git a/docs/developer-guide/getting-started.md b/docs/developer-guide/getting-started.md index e4bb661d43..41ede5bcfe 100644 --- a/docs/developer-guide/getting-started.md +++ b/docs/developer-guide/getting-started.md @@ -82,6 +82,12 @@ Valid values are defined in the describe definition of the e2e tests like [Defau The complete list of tests can be found [here](../e2e-tests.md) +**Run Helm unit tests** + +```console +make helm-test +``` + ### Custom docker image In some cases, it can be useful to build a docker image and publish such an image to a private or custom registry location.