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

Non-verbatim C# expressions are not recognized #62

Closed
gasparnagy opened this issue May 30, 2022 · 2 comments
Closed

Non-verbatim C# expressions are not recognized #62

gasparnagy opened this issue May 30, 2022 · 2 comments
Assignees
Labels

Comments

@gasparnagy
Copy link
Member

With Cucumber Expressions in SpecFlow, it is not needed to use verbatim string literals for the step def expressions. So instead of [When(@"I do something")], you would write [When("I do something")] (note the missing @).

The current implementation only recognizes step definitions with verbatim string here, therefore the ones with normal string are not recognized and therefore the related steps are reported as undefined.

@Issafalcon Issafalcon self-assigned this Jun 3, 2022
@Issafalcon
Copy link
Contributor

I also noticed this when playing around with the cucumber expressions syntax in Specflow. The fix should be straightforward.

@aslakhellesoy
Copy link
Contributor

I can confirm that this will be fixed by #68. I've verified with a local build of the VSCode extension and opened up https://github.com/specsolutions/202200607-EuroSTAR-AutomationWithSpecFlow/tree/main/A5

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

Successfully merging a pull request may close this issue.

3 participants