Comments (4)
Currently, variables do not expand in the desc:
section.
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
from runn.
Thank you for answer.
So, is there a way to set the description for each loop instead?
from runn.
So, is there a way to set the description for each loop instead?
I don't think we have that feature at this time.
@k1LoW
How about adding a description for include and outputting it when including?
from runn.
How about adding a description for include and outputting it when including?
The Include runner already has a desc:
section.
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 desc:
in the included runbook, which I believe is the same as variable expansion in the desc:
section.
I am still cautious about whether we should add a variable expansion feature in the desc:
section.
Because there is still a small chance that the desc:
section will be one of the sources of the runbook ID.
from runn.
Related Issues (20)
- Found `Failure/Error: invalid` when stdin has a json previous result HOT 7
- How to read and execute a proto file on the command line? HOT 3
- How to req in ssh conneted server HOT 10
- openapi3 not working when running via ssh connected server HOT 20
- In loop, json is recognized as string HOT 13
- Allow HTTPRunner to take over cookies HOT 3
- http request fails when using numeric value for variable in multipart/form-data HOT 1
- Define an accessor to get the Host of the endPoint of HTTPRunner HOT 5
- How to use json data when using gRPC runner? HOT 1
- Access to response results during loop HOT 8
- Too many connections error occurs when multiple scenarios run HOT 4
- The notFollowRedirect option does not work. HOT 2
- Add step description and test point to list command HOT 3
- Add before/after Hooks for Efficient Testing HOT 1
- Support SSH Proxy HOT 2
- Custom header for HttpRunner traceability HOT 5
- Support for Exec Runner tee command option HOT 1
- Is it possible to treat the stdout as an integer instead of a string? HOT 2
- I want to work with an escaped json string in the request body HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runn.