You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this nice test suite, it's pretty useful. I use Venom in Camunda Platform Helm charts integration tests.
Use case:
I want to control the loop steps conditionally in case some services are not available for testing.
So some of the loop items work, and some are skipped.
The problem:
It looks like the loop vars are not accessible in skip part.
One of the issues is that you cannot have the assertion wrapped in a string - "{{ .value.skip }} ShouldNotEqual 1" you need to unwrap it. Now having this will make venom fail as it wont be able to parse the file - {{ .value.skip }} ShouldNotEqual 1 so you can convert it to - value.skip ShouldNotEqual 1 . Will try this test case with the a draft pr that I have here #685
Hi 👋
Thanks for this nice test suite, it's pretty useful. I use Venom in Camunda Platform Helm charts integration tests.
Use case:
I want to control the loop steps conditionally in case some services are not available for testing.
So some of the loop items work, and some are skipped.
The problem:
It looks like the loop vars are not accessible in
skip
part.Example:
I get the following:
The same behaviour would be if I used
{{ .index }}
, the loop vars are not accessible.Info:
The text was updated successfully, but these errors were encountered: