Questions tagged [cucumber-cpp]

Cucumber-CPP is a Behavior Driven Development (BDD) tool to support step definitions written in C++.

Cucumber-CPP is a Behavior Driven Development (BDD) tool to support step definitions written in C++.

13 questions
4
votes
1 answer

How to use cucumber with bazel?

I am trying to create a Bazel project which includes cucumber-cpp. I could not figure out how its BUILD file would look like. As Google Test now includes it's own BUILD file it is as easy as it get's. Something similar would be nice. My WORKSPACE…
Twinkybot
  • 41
  • 2
4
votes
6 answers

Take a screenshot with Cucumber

I just learn how to use cucumber. Can you tell me how to complete this code? You can implement step definitions for undefined steps with these snippets: Then /^I take a screenshot$/ do pending # express the regexp above with the code you wish…
Sokhom Ratanak
  • 5,836
  • 4
  • 14
  • 11
3
votes
0 answers

build issue for cucumber cpp in windows and with visual studio

I am trying to setup an environment for cucumber cpp in windows 10 and with visual studio. While trying to build the whole solution, I am facing build issues with GTest component My current environment is as follow OS: Windows 10 Visual Studio…
3
votes
0 answers

Cucumber-CPP: All steps undefined in example

I am following this Cucumber-CPP github page to setup the framework. I have release version v0.4. Unfortunately, none of the step definitions get detected. When I run cmake --build build --target features to check implementation against common…
Ganesh kudva
  • 990
  • 3
  • 13
  • 34
2
votes
1 answer

Cucumber not running selenium Code

When I try to run my code, it only shows cucumber skeleton. I use a JUnit runner class as JUnit test suite. Code is below for all three classes. Feature is : Feature: Check addition in Google calculator In order to verify that google calculator…
fahad
  • 389
  • 2
  • 12
1
vote
1 answer

Is there a way to initialize cucmber.wire timeouts from the command line?

I have a long running scenario using cucumber-cpp, which takes approximately 5 mins to complete. When I run the scenario with default cucumber.wire file generated by the cucumber --init command the following file is generated: host: localhost …
vedrajb
  • 13
  • 3
1
vote
1 answer

Cucumber with Qt/QML

Is there a way to use Cucumber with Qt/QML? and if there's some examples, i would appreciate it. Thanks.
imad kimouche
  • 133
  • 1
  • 1
  • 10
1
vote
1 answer

Cucumber-cpp required software for running example

After cloning and installing (I believe in the proper way - I followed this tutorial) I go to to ~\Cucumber\Cucumber\cpp\examples\Calc and type cucumber --init. I get C:\Cucumber\Cucumber-cpp\examples\Calc>cucumber --init exist features …
MTLaurentys
  • 221
  • 1
  • 12
1
vote
1 answer

Cucumber-cpp step defiinition runner exits immediately

Based on the instructions given at cucumber-cpp github repo and cucumber-cpp step definition quick-start guide , I created my cucumber step definition files. The features and their step_definition files are under features/ folder, and the cpp code…
Akaedintov
  • 747
  • 1
  • 6
  • 17
0
votes
0 answers

How to resolve the ambiguity between Boost::Program_Option which is used by two library I am using in my project?

I am using cucumber cpp and one more third party library in my code, but while running I am getting the segmentation fault, finally I found the root cause of this error this, this is failing because both library using Boost::program_Option it means…
0
votes
1 answer

Cucumber CPP Build Error : is_initialized() is not a member of unit test

I am trying to learn how to use Cucumber CPP. I have been initially following the steps here. But I ran into some errors with it. Currently, I am trying to follow the steps here. When I try to build Cucumber-CPP.sln in Visual Studio 2015, it gives…
unni
  • 183
  • 2
  • 9
0
votes
0 answers

Checking fot transient messages with Frank/Cucumber

I am very new to Frank/Cucumber and hope you can help. I am trying to test an iOS app and am writing a test to assure that logging in with bad credentials fails. I am able to enter credentials and attempt to login but this results in a message…
0
votes
2 answers

linker error on Cucumber-cpp when dealing with multiple feature files

I've been using the BDD framework Cucumber-cpp for a little while now without much issues, but extending the feature set of a module proved to raise some linker errors. Setup: Linux Cucumber-cpp makefile If I start with the following: #…
fduff
  • 3,671
  • 2
  • 30
  • 39