Skip to content

Commit 01d3d80

Browse files
authored
Make: Add helm-test target. (#13652)
Co-authored-by: marcel2012 <[email protected]>
1 parent d7c33ea commit 01d3d80

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ test: ## Run go unit tests.
156156
GOFLAGS="-buildvcs=false" \
157157
test/test.sh
158158

159+
.PHONY: helm-test
160+
helm-test: ## Run helm unit tests.
161+
helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"
162+
159163
.PHONY: lua-test
160164
lua-test: ## Run lua unit tests.
161165
@build/run-in-docker.sh \

docs/developer-guide/getting-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ Valid values are defined in the describe definition of the e2e tests like [Defau
8888

8989
The complete list of tests can be found [here](../e2e-tests.md)
9090

91+
**Run Helm unit tests**
92+
93+
```console
94+
make helm-test
95+
```
96+
9197
### Custom docker image
9298

9399
In some cases, it can be useful to build a docker image and publish such an image to a private or custom registry location.

0 commit comments

Comments
 (0)