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
I noticed some problem with the scope=given configuaration
When picking something from an object that does not exists:
Given I have a 'string' named 'str' in 'obj'Then print the data
or similar when searching it under my name that is not explicitly define in the zencode
Given my name is in a 'string' named 'name'
and I have my 'string' named 'str'Then print the data
In particular, in the latter case, if name is not specified should we add a key to the codec, e.g.my_name=true, to let the code that read the output know that that varibale is its name? Moreover the variables loaded with Given I have my should have another value in the codec, e,g.my_variable=true to let the code that read the output to know that this variable should be inside the object named by the name?
rename a variable
Given I have a 'string' named 'str'
and I rename 'str' to 'str_string'
and I have a 'base64' named 'str'Then print the data
at the moment this fails beacuse str is not found, but if the rename part is allowed then we will end with two different variable in the codec, but only one is required as input. How should we handle this?
The text was updated successfully, but these errors were encountered:
I noticed some problem with the
scope=given
configuarationmy_name=true
, to let the code that read the output know that that varibale is its name? Moreover the variables loaded withGiven I have my
should have another value in the codec, e,g.my_variable=true
to let the code that read the output to know that this variable should be inside the object named by the name?str
is not found, but if the rename part is allowed then we will end with two different variable in the codec, but only one is required as input. How should we handle this?The text was updated successfully, but these errors were encountered: