-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Missing colons are not reported as invalid syntax #18
Comments
Fair enough. For now I would recommend using an IDE with syntax highlighting. It should make it more apparent what the problem is: Feature: I am buggy
This a general description of the feature to explain what it does and put the scenarios in to context.
It can be multiple lines long.
Scenario: I put the colon in the end:
Then I run the test |
This will take a lot of effort to fix, and I don’t think it’s worth the effort. Thoughts? |
I'm not sure. With the way the grammar is defined the Scenario keyword line terminates the description. The Step keyword line could be used in the same way and then used to detect this problem. |
Thats why I opened a second issue at intellij ;) Intellij was perfectly fine with the colon free version... |
Describe the bug
If the colon after a scenario is missing, the scenario is simply not run, instead of being reported as invalid
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The scenario is reported as invalid
Context & Motivation
It costs a lot of time if this happens, because the misplaced colon is not obvious
Screenshots
Your Environment
Cucumber 6.8.1
The text was updated successfully, but these errors were encountered: