Support asterisks as continuation steps on par with And and But #617
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gherkin Documentation mentions you can uses
*
(asterisk) to describe lists of things, same way as withAnd
steps:Dunno if anybody actually needs such feature - since search for
asterisk
did not yield anything neither in PRs nor Issues. But since the change is literally 1 line of code, I thought I might propose it just as well and see what happens 馃槃Not sure if the place for testing it is right (
tests/feature/test_steps.py
) or if it should be done someplace else tho.One (perhaps controversial) use-case that comes to mind, which would benefit from asterisks, is something like this:
It could be written as
Then we observe ... and its ...
already, and would definitely be better with something likeFor foo ... its ...
- but I think asterisks might still be a step in right direction.