-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
names in Test::Case #82
Conversation
I'm not sure about method names. It makes IMO more sense to have wrt file/row number, we use this information to link between scenarios/outlines to an external bug tracker. Would be nice to have it in the public API. Ruby is nice when you need to hack around APIs but IMO it's nice to have it officially supported. |
I think idea for the request for file / row number was to make them available on other properties of the |
I think I'd be happy to just lose the old functionality and have what's in |
I can try to do that @mattwynne. I'll start implementing some changes so |
I think the tests were just leaning on that output to determine the order of things coming out IIRC. We might break the odd thing in the front-end |
That makes sense. I'll do it. Would it make sense to run the 'cucumber' test suite against any changes here? Do I just point the Gemspec at my local repo of cucumber-ruby-core? |
Yes, it would be great to do that too. As long as you keep the two projects side-by-side it should just pick up your local core anyway |
So this change to Very slick library dependency @mattwynne! Being able to run the cucumber features so easily against my local cucumber-ruby-core made my evening 👍 |
Yes, the output in this PR looks good to me. |
One thing we haven't worked out with the build system is how to have it reflected on travis, so if you open up a PR in |
If you had a PR for |
It looks like at least a few, if not all the feature failures in the
Should I just change the expected output to this?
That seems reasonable. It's listed as a "Failing Scenario", with a line number for the feature file, and the name of the scenario. It actually makes the output a little more compact. Alternatively, we could add the "Scenario: " string to the value returned by I'm going to work on changing the expect output for now. |
@mattwynne, I added a PR to |
make keyword available for backwards compatibility in cucumber
63b8f13
to
88282f8
Compare
Test::Case#name no longer includes keyword
How can I know when a new beta is released? |
Good question. It should be announced in the following places:
Are there any other ways you can think of that we could easily bring a new release to your attention? |
I guess we could keep this bug open under a 2.0.0.rc.4 milestone and then close it when we release it, but I tend to favour closing bugs once they've been resolved in the codebase, so I can see which ones still need working on. |
Thanks! I've just installed and will try it out. |
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. |
This PR starts working on cucumber issue #768 where we want a name like "scenario name" not "Scenario: scenario name"
@mattwynne and @akostadinov, let me know if this is the direction you were thinking. There were two other requests in the issue about wanting values from an example table and a separate method to get row numbers, but I'm not entirely sure what the end goal is.
How would these details be used? ... Can you give me an example? 😄
I'm not completely sure just sticking on extra results to the
NameBuilder
is the way to go either, but this does give the simplified name now.