February 2015
Intermediate to advanced
338 pages
8h 16m
English
It can be distracting to look at the whole content of the feature in Cucumber’s output each time we run it. Let’s switch to use the progress plugin to get a more focused output. Edit cucumber so that the line that runs Cucumber looks like this:
| first_taste/06/cucumber | |
| | java -cp "jars/*:." cucumber.api.cli.Main -p progress --snippets camelcase \ |
| | -g step_definitions features |
Now when you run ./cucumber you should see the following output:
| | .P- |
| | |
| | 1 Scenarios (1 pending) |
| | 3 Steps (1 skipped, 1 pending, 1 passed) |
| | 0m0.081s |
| | |
| | cucumber.api.PendingException: TODO: implement me |
| | at step_definitions.CheckoutSteps.iCheckout(CheckoutSteps.java:17) |
| | at *.When I checkout 1 "banana"(checkout.feature:4) |
Instead of printing ...
Read now
Unlock full access