Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Direct execution of features (no wire protocol) #50

Open
paoloambrosio opened this Issue · 2 comments

2 participants

@paoloambrosio
Collaborator

Allow Cucumber-Cpp to execute features directly using the Gherkin parser without relying on Cucumber-Ruby.

@barneywilliams

I was actually thinking the other way around... about letting Cucumber do all the parsing, and just passing a list of the captures resulting from processing the regex in Ruby land over as a list of strings and possibly other types.

Ultimately, it would be nice to bypass the Wire Protocol and sockets completely. Cucumber-Cpp could fairly easily provide an simple entry point that Cucumber could bind to. That way, the Ruby and C++ sides would both run in the same process, and startup would be MUCH easier.

We have a pretty large team using your stuff Paolo, and I would be happy to contribute...

I also could add a Rake extension to allow easy integration of a runner into a rake build system, and also a mini-wrapper around cmake to be able to build your stuff more easily.

This was referenced
@paoloambrosio
Collaborator

What you suggest was feature #8. This would be useful for people that don't need and want to use other languages other than C++. It is part of Gherkin 3. Since it seems that several users are using Ruby and C++ together, I would like to implement both this (native C++) and #8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.