September 2017
Beginner to intermediate
384 pages
8h 4m
English
Now let's execute the test case. This involves two steps, as we are using the wire protocol. Let's first launch the test case executable in background mode and then Cucumber, as follows:
cmake --build buildbuild/HelloBDD/HelloBDDSteps > /dev/null &cucumber HelloBDD
Redirecting to /dev/null isn't really mandatory. The main purpose of redirecting to a null device is to avoid distractions from the print statement that an application may spit in the terminal output. Hence, it is a personal preference. In case you prefer to see the debug or general print statements from your application, feel free to issue the command without redirection:
build/HelloBDD/HelloBDDSteps &
The following screenshot demonstrates the build and ...