-
Notifications
You must be signed in to change notification settings - Fork 133
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
Getting rid of ruby dependency #290
Comments
Hi, and thanks for the feedback There is no plan to go to a C++ only solution. I personally don't know what it would mean, but from the experience from others it takes quite some effort to maintain the whole thing. It is an ongoing discussion if the already existing different implementation (Ruby, Java, ...) can be merged back to reduce maintenance. The idea is to test and maybe improve the interface between cucumber-cpp and cucumber-ruby, see #284. What is the motivation for the question? |
Motivation: I'm working with cucumber-ruby 2.0 because I'm facing difficulties installing any later versions on the old CentOS versions we still maintain. I am facing instabilities on the ruby side that are somewhat inexplicable and very non-deterministic. Something about "no method [] for nil class" that randomly pops up. I hoped a C++ only solution might at least give me more clarity what is going wrong (if it's anything in my code). |
Is this the same problem as #226? I fear that we break compatibility with such old cucumber-ruby version once we have to implement changes for #284. Maybe there is a way for you to update the distribution, run cucumber-ruby in a docker container or on a different machine? |
I've definitely seen this type of error when there were problems in BEFORE, so yes. But I don't understand how my code isn't deterministic. Ok, I'll have to try to work around the issue then. Maybe using a c++ gherkin parser is more of a long term nice to have. |
Yes we know that previously c++ was tied to cucumber 2.0 It "should" in theory be possible to use the latest cucumber. This is because the wire plugin (Sort of the intermediary between cpp and ruby), is now updated and should be fully conformant. There is a ticket here: #284 that should see us use the latest version of wire (And accordingly ruby). This would be considered by me as fairly high priority, if this isn't working |
Closing it because we will keep the setup with Cucumber -> cucumber-cpp. Will work instead on the conformance of this interaction, i.e. #284. |
Hello!
Thanks for getting rid of the boost dependency, that simplified things a lot.
Is there any plan to also get rid of cucumber ruby and use a gherkin parser instead?
A gherkin parser library for cpp can be found, e.g., here:
https://github.com/cucumber/gherkin
(in the cpp folder)
The text was updated successfully, but these errors were encountered: