File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4242 - name : Run helm-unittest
4343 # by default looks for tests/*_test.yaml
4444 run : |
45- helm unittest --color --helm3 .
45+ helm unittest --color --helm3 -f tests/unit/*_test.yaml .
Original file line number Diff line number Diff line change 11# ` stackstorm-ha ` Helm chart Tests
22
3- This directory contains Helm chart integration (under ` tests/integration/ ` ) and unit tests ( ` tests/unit-*_test.yaml ` ).
3+ This directory contains Helm chart unit and integration tests (under ` tests/unit/ ` and ` tests/integration/ ` respectively ).
44
55## Unit tests
66
7- Unit tests (` tests/unit- *_test.yaml ` ) use [ ` helm-unittest ` ] ( https://github.com/quintush/helm-unittest ) .
7+ Unit tests (` tests/unit/ *_test.yaml ` ) use [ ` helm-unittest ` ] ( https://github.com/quintush/helm-unittest ) .
88` helm-unittest ` uses a yaml-based test file to ensure that the templates generate expected features.
99For example, they can ensure that custom annotations are applied consistently to all of the deployments.
1010Unit tests do not require a running kubernetes cluster.
@@ -17,7 +17,7 @@ helm dependency update
1717
1818To run the tests manually from the chart's root dir:
1919```
20- helm unittest --helm3 .
20+ helm unittest --helm3 -f tests/unit/*_test.yaml .
2121```
2222
2323
File renamed without changes.
You can’t perform that action at this time.
0 commit comments