September 2014
Intermediate to advanced
270 pages
6h 1m
English
Now that we are familiar with the project layout, let's execute some tests. To start, let's install the Cucumber gem. So, run the following command in the terminal:
gem install cucumber
After the gem has been installed, we have several commands we can use to run our tests from the root of the working directory:
default profile, we simply run the following command in our terminal from the root of our workspace:
cucumber
The Cucumber gem will automatically find the features directory. If your features are located in another directory, you will need to specify the path to that directory like this:
cucumber some/other/directory
-p flag to specify a different profile at the time of ...Read now
Unlock full access