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:
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:
Once the installation is complete...