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
Tagging examples/scenarios within a scenario outline does not work. #54
Comments
Tagging Examples/Scenario/Scenario Outline is indeed possible. Please explain what you expected to happen and what happened. |
I'm closing this, as I don't understand the bug report and the reporter hasn't clarified. |
Sorry for the late answer... been occupied.
I've created a folder structure like this: issue54 And the issue54.feature file contains the example above. Running cucumber yields: features/issue54.feature:11:2: Parse error, expected one of "\n", "\r", "@", "Scenario", "Scenario Outline". (Cucumber::Parser::SyntaxError) I was expecting the @pending examples to not be run. |
You have a parse error in your feature. Can we see it please? (See the Github Flavored Markdown docs about how to include preformatted text). You are running an an ancient cucumber version (0.4.0). Please upgrade to the latest. And why did you expect @pending to cause an example not to be run? |
Indeed I know that we are using an ancient version. Might be feasible to update; can't guarantee that though, but if it's fixed in a later version all is good. Scenario Outline: Something useful
Given I have <a>
When I add <b>
Then I should have <c>
Examples: Implemented things
| a | b | c |
| 0 | 0 | 0 |
@pending
Examples: Not yet implemented things
| a | b | c |
| 1 | 2 | 3 | @pending to me means "not done"; so; I would expect the same behavior of a pending example as a pending scenario. |
The ability to put tags on Examples were added in a later version than the one you are using - don't remember which one. |
Yep, sounds fair. If added as u say in a later version, just go ahead and close this issue. I'll try to update. Thanks, |
I am attempting to use @tags on the examples of a Scenario Outline. @login
When I set --tags @login both Splash and Home are executed. Any thoughts on what I am doing wrong? My expectation is that only the @login Examples will be run. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Original Lighthouse Ticket 693
It's not (to my knowledge) possible to tag examples/scenarios within a scenario outline.
The text was updated successfully, but these errors were encountered: