-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Description
Summary
Cucumber-cpp does not work with the latest cucumber-ruby version (3.1)
Expected Behavior
Cucumber-cpp works with the latest cucumber-ruby version.
Current Behavior
Compiling cucumber-cpp and running the examples+cucumber throw "undefined definition" messages.
Possible Solution
Workaround:
- Uninstall cucumber-ruby 3.1.2: sudo gem uninstall cucumber
- Install cucumber-ruby 2.4: sudo gem install cucumber -v 2.4
- Run cucumber from the examples/Calc, not from the project root as described in the readme instructions ("cd examples/Calc && cucumber ."), otherwise you'll still get undefined definitions, even with cucumber-ruby 2.4.
Steps to Reproduce (for bugs)
- Install ubuntu 18.04
- Install dependencies with apt (boost, qt, g++, cmake, gtest, ruby)
- Install bundler and cucumber-ruby with gem package manager (gem install bundler cucumber)
- Follow the readme instructions to compile cucumber-cpp and examples
- Run one of the examples
build/examples/Calc/BoostCalculatorSteps >/dev/null &
cucumber examples/Calc
- Cucumber throws a bunch of undefined definitions
Context & Motivation
I struggled for hours to run cucumber-cpp examples. What I am trying to accomplish? This issue to be fixed, and let other developers know (by having the doc changed) that cucumber-cpp does not work with the latest version of cucumber-ruby, so they don't waste hours of their time.
Your Environment
- Version used: cucumber-cpp v0.5.1-g79e92de
- Operating System and version: Ubuntu 18.04 LTS Server
- Link to your project: N/A
Metadata
Metadata
Assignees
Labels
No labels