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

Step parsing pattern cannot handle empty parameters #94

Closed
dimovelev opened this issue Nov 12, 2024 · 2 comments
Closed

Step parsing pattern cannot handle empty parameters #94

dimovelev opened this issue Nov 12, 2024 · 2 comments
Assignees

Comments

@dimovelev
Copy link

I can define a step like that:

@Given("a user$name")
@Alias("user $name")
public void givenUser(String name) {
}

In the @given pattern there is no space before $name on purpose - this works with jbehave and it would call the step with an empty name.
The IDEA plugin does not seem to match this and shows the step in the story as unknown.

@picimako
Copy link
Collaborator

@dimovelev
I have other things on my plate at the moment, but I'll try to look into it soon (at least to see what the problem might be), and if I find the cause, I'll most probably be able to work on it around Christmas time.

@picimako
Copy link
Collaborator

@dimovelev
A fix for this is published and available in v1.67.2 Let me know if it fixed it for you too.

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

2 participants