Giter VIP home page Giter VIP logo

Comments (6)

ursfassler avatar ursfassler commented on July 21, 2024

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?
I.e. is there a problem you face with the current solution or a simplification if it is C++ only?

from cucumber-cpp.

AnarchoSystems avatar AnarchoSystems commented on July 21, 2024

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).

from cucumber-cpp.

ursfassler avatar ursfassler commented on July 21, 2024

Is this the same problem as #226?
The error message is slightly different but sounds close. If it is the same it hints to an C++ exception in an BEFORE or AFTER hook.

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?

from cucumber-cpp.

AnarchoSystems avatar AnarchoSystems commented on July 21, 2024

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.

from cucumber-cpp.

luke-hill avatar luke-hill commented on July 21, 2024

Hi @AnarchoSystems

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

from cucumber-cpp.

ursfassler avatar ursfassler commented on July 21, 2024

Closing it because we will keep the setup with Cucumber -> cucumber-cpp. Will work instead on the conformance of this interaction, i.e. #284.

from cucumber-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.