Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange issue with helm3 chart unittests #39

Closed
Scoi4101 opened this issue Jul 31, 2020 · 2 comments · Fixed by #54
Closed

strange issue with helm3 chart unittests #39

Scoi4101 opened this issue Jul 31, 2020 · 2 comments · Fixed by #54
Assignees

Comments

@Scoi4101
Copy link

Getting this error on most of my tests that work fine in helm 2.9.1

assertion.template must be given if testsuite.templates is empty

Helm 3.1.2 and Helm 3.2.3 have the same issue.

So i pulled your repo and ran the same templates and tests in your repo and they pass

Any thoughts would be appreciated

@quintush
Copy link
Owner

Which version of the plugin did you use?

In newer versions 0.2.0+, i have made sone improvements where it is possible set the template on multiple levels.

Greetings, @quintush

@Scoi4101
Copy link
Author

Scoi4101 commented Aug 3, 2020

Hello,

Thanks or the response.

helm plugin list
NAME VERSION DESCRIPTION
unittest 0.2.1 Unit test for helm chart in YAML with ease to keep your chart functional and robust.

The super weird thing is that I have downloaded your repo and copied a test, value file, etc and it runs with no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants