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

Print existing steps and step definitions #40

Open
aslakhellesoy opened this issue Apr 27, 2022 · 0 comments
Open

Print existing steps and step definitions #40

aslakhellesoy opened this issue Apr 27, 2022 · 0 comments
Labels
⚡ enhancement Request for new functionality

Comments

@aslakhellesoy
Copy link
Contributor

aslakhellesoy commented Apr 27, 2022

🤔 What's the problem you're trying to solve?

Get a list of all step definitions and steps that match these step definitions.

✨ What's your proposed solution?

List all the steps and step definitions:

npx @cucumber/language-server --list

* I have {int} cuke(s)   # features/step_definitions/foo.ts:43
  * I have 3 cukes       # features/a.feature:32
  * I have 1 cuke        # features/b.feature:12
* /I eat (\d+) cukes/    # features/step_definitions/foo.ts:15
  * I eat 3 cukes        # features/a.feature:11

⛏ Have you considered any alternatives or workarounds?

This is implemented in the usage formatter in various Cucumber implementations. By implementing it here we can remove this from all Cucumbers.

@kieran-ryan kieran-ryan added the ⚡ enhancement Request for new functionality label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ enhancement Request for new functionality
Projects
None yet
Development

No branches or pull requests

2 participants