Skip to content
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

Do something about angle brackets in steps. #2

Open
scolej opened this issue Oct 7, 2017 · 0 comments
Open

Do something about angle brackets in steps. #2

scolej opened this issue Oct 7, 2017 · 0 comments

Comments

@scolej
Copy link
Owner

scolej commented Oct 7, 2017

Scenario outlines use angle brackets for substituting values. This is going to be tricky to handle properly. The angle brackets break regex matching.

Options:

  1. Strip out the angle brackets completely, leaving the variable name.
  2. Strip out the angle brackets and everything inside them, leaving nothing.
  3. Try a few different replacements (numbers, letters) to try and get a match,
  4. Fully parse the scenario outline and make the actual replacement before attempting matching.

How well the simple options works depends on how stringent the glue regex is. Number 1 is probably the best first bet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant