-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cucumber2: scenario name with garbage #768
Comments
Good point. This is in a Before / After hook, yes? |
Yes. While on it, for scenario outline it would be very nice to know the example table values in addition to row number o:) |
The root of this is here: https://github.com/cucumber/cucumber-ruby-core/blob/master/lib/cucumber/core/test/case.rb#L93 |
I realized that the keyword is still included in the The checks in the Scenario Outline case is not very precise. The actual value of |
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. |
In cucuber 1.x I see scenario.name == "scenario name"
In 2.x I see scenario.name == "Scenario: scenario name"
In 2.x also scenario.title == "Scenario: scenario name"
IMHO one of these should be simple "scenario name"
Update: ditto Scenario outline - both name and title contain: "Scenario Outline: scenario name, Examples (row 1)"
Update 2: It is important for me to know which row of the outline is this and if it is an outline or just a scenario but would be nice to have raw name somewhere. Also a separate method to get row number would be nice. if this is not possible I can live with current implementation. I basically want to know all details. Just parsing strings is not very nice IMHO.
The text was updated successfully, but these errors were encountered: