The recommended cucumber-cpp project folder structure
Like TDD, the Cucumber framework too recommends a project folder structure. The recommended cucumber-cpp
 project folder structure is as follows:
The src
folder will contain the production code, that is, all your project files will be maintained under the src
directory. The BDD feature files will be maintained under the features
folder and its respective Steps
file, which has either boost test cases or gtest cases. In this chapter, we will be using the gtest framework with cucumber-cpp
. The wire
file has wire protocol-related connection details such as the port and others. The CMakeLists.txt
is the build script that has the instructions to build your project along with its dependency details, just like Makefile
used by the MakeBuild
utility. Â Â