-
Notifications
You must be signed in to change notification settings - Fork 246
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
Conditional assertions #203
Labels
Comments
@quintush I am wondering if we can add a flag in the test cases to make them optional, as in if they fail we throw a warning but the overall test suite doesn't fail because of it. If this seems like a possible way to do it, I can take up the work on this feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for this great project. Is there a way to specify conditional assertions that if an annotation exists, it conforms to some regex?
I have this test:
But if annotation is not set, the test fails with
unknown path metadata.annotations["external-dns.alpha.kubernetes.io/hostname"]
. But I want the scenario of annotation not set to be valid as well.I did not find anything in the documentation on this topic, is it even supported?
The text was updated successfully, but these errors were encountered: