Giter Site home page Giter Site logo

cucumber-cpp's Introduction

Cucumber-CPP

Build Status

Cucumber-Cpp allows Cucumber to support step definitions written in C++.

If you need to ask a question, don't open a ticket on GitHub! Please post your question on the Cucumber discussion group instead, prefixing the title with [CPP].

The current library relies on a few libraries:

  • Boost 1.40 or later. Required libraries: thread, system, regex, and date_time. Optional library for Boost Test driver: test.
  • GTest 1.4 or later. Optional for the GTest driver.
  • CppSpec development branch. Optional for the CppSpec driver.
  • GMock 1.6 or later. Optional for the internal test suite.

This header-only library is included in the source code:

It might work with earlier versions of the libraries, but it was not tested with them.

Cucumber-Cpp uses the wire protocol at the moment, so you will need Cucumber-Ruby installed and available on the path.

Building tests and sample application:

Supposing you have a directory structure with src/boost_1_53_0 and src/cucumber-cpp,

cd src
echo "boost-build boost_1_53_0/tools/build/v2 ;" > boost-build.jam
cd cucumber-cpp
b2

Running the example on Unix:

bin/examples/Calc/.../BoostCalculatorSteps >/dev/null &
cucumber examples/Calc/CalcFeatures

Running the example on Windows:

start bin\examples\Calc\...\BoostCalculatorSteps.exe
cucumber examples\Calc\CalcFeatures

cucumber-cpp's People

Contributors

aslakhellesoy avatar hugoferreira avatar joshuanapoli avatar paoloambrosio avatar sabst avatar

Watchers

 avatar  avatar

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.