Installing cucumber-cpp in Ubuntu
Installing the cucumber-cpp framework is quite straightforward in Linux. All you need to do is either download or clone the latest copy of cucumber-cpp.
The following command can be used to clone the cucumber-cpp framework:
git clone https://github.com/cucumber/cucumber-cpp.git
Note
The cucumber-cpp framework is supported in Linux, Windows, and Macintosh. It can be integrated with Visual Studio on Windows or Xcode on macOS. Â
The following screenshot demonstrates the Git clone procedure:
![](https://static.packt-cdn.com/products/9781786461629/graphics/fe70df2d-4ab2-4f08-9ddc-acb2fb5c4cf7.png)
As cucumber-cpp depends on a wire protocol to allow the writing of BDD test case step definitions in the C++ language, we need to install Ruby.Â
Installing the cucumber-cpp framework prerequisite software
The following command helps you install Ruby on your Ubuntu system. This is one of the prerequisite software that is required for the cucumber-cpp framework:
sudo apt install ruby
The following screenshot demonstrates the Ruby installation procedure:
![](https://static.packt-cdn.com/products/9781786461629/graphics/be9614df-136d-4381-a29b-b3d6ba5035ad.png)
Once the installation is complete...