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
It would be nice to be able to specify lines of code in the cucumber.yml file with % instead of <% %>. Our team has quite a lot of variables we use in the cucumber.yml file because we have quite a lot of profiles, so variables simplify things.
This is extremely easy to enable in the ERB loader, the only problem comes from the YAML loader. % marks a directive in YAML, so users would need to use the directives end marker line to signify that their code is not a directive (I have not needed to do this so far, but it could be a problem if they use the TAG or YAML directives.
Is this something I can submit a pull request for? I think it's ok to enable, and I don't see any problems arising from it.
The text was updated successfully, but these errors were encountered:
snowe2010
changed the title
Enable % erb processing for adding ruby to cucumber.yml file
Enable % erb processing for ruby in cucumber.yml file
Oct 1, 2014
We're planning to replace cucumber.yml with a pure-ruby configuration file, but that's a way off yet so if this helps in the mean time, I'd happy accept a PR.
It would be nice to be able to specify lines of code in the cucumber.yml file with
%
instead of<% %>
. Our team has quite a lot of variables we use in the cucumber.yml file because we have quite a lot of profiles, so variables simplify things.This is extremely easy to enable in the ERB loader, the only problem comes from the YAML loader.
%
marks a directive in YAML, so users would need to use thedirectives end marker
line to signify that their code is not a directive (I have not needed to do this so far, but it could be a problem if they use theTAG
orYAML
directives.Is this something I can submit a pull request for? I think it's ok to enable, and I don't see any problems arising from it.
The text was updated successfully, but these errors were encountered: