-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
When using loop, how to change description #546
Comments
Currently, variables do not expand in the desc: test
vars:
foo: var
steps:
-
desc: '{{ vars.foo }}'
test: vars.foo == 'var' $ runn run tmp.yml --verbose
=== test (tmp.yml) ... ok
--- {{ vars.foo }} (0) ... ok
1 scenario, 0 skipped, 0 failures |
Thank you for answer. |
I don't think we have that feature at this time. @k1LoW |
The Include runner already has a steps:
-
desc: Login
include:
path: path/to/login.yml
vars:
username: bob
password: bobpass I believe you are saying that we will add the feature to overwrite the I am still cautious about whether we should add a variable expansion feature in the Because there is still a small chance that the |
ref: #672 |
I try changing description in loop.
But, I cannot change description.
I think description is important in data driven test, because we know what data are we using.
Threfore, though I specify
vars_section_desc: "{{ vars.vars_section.desc[i] }}"
in root yaml, I didn't have expected result.The text was updated successfully, but these errors were encountered: