-
Notifications
You must be signed in to change notification settings - Fork 118
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
junit testcase created for empty yaml docs #45
Comments
Hi @davidholsgrove , It's tricky but it actually seem to work as expected... at least if my understanding of yaml is correct :) the --- is a separator, your file contains two yaml documents: one empty one, that contains only a comment - and another, normal, one. I guess the question is what Junit output we expect for empty documents 🤔 |
I have rewritten the Junit output tests, and I believe I have fixed this. I will make a new release very soon. |
Released with v0.4.10. |
Testing out the junit xml output format, I see we have empty testcases added to the report where kubeconform encounters a yaml document with no content, including where its just a comment - for example;
produces a testsuite with 2 testcases;
The text was updated successfully, but these errors were encountered: