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

Support asterisk as a conjuction #123

Closed
qi55wyqu opened this issue Jun 22, 2023 · 2 comments
Closed

Support asterisk as a conjuction #123

qi55wyqu opened this issue Jun 22, 2023 · 2 comments

Comments

@qi55wyqu
Copy link

qi55wyqu commented Jun 22, 2023

The gherkin syntax supports using an asterisk instead of And (https://cucumber.io/docs/gherkin/reference/).

When I use And, the step is parsed as 'keyword': 'And ', 'keywordType': 'Conjunction'.

However when I use * the step is parsed as 'keyword': '* ', 'keywordType': 'Unknown'.

It would be great if the correct keywordType was set.

@elchupanebrej
Copy link

* means that it could be used by any keyword step
And means that type of step is substituted from the previous step

So they have different meanings

@qi55wyqu
Copy link
Author

Ah that makes sense, thank you! I think this issue can be closed then.

This difference isn't clear from the official documentation though.

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

3 participants