Open aabouzaid opened 1 year ago
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 :wave:
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: