Cucumber - How configure it to use "--format pretty" as default?
- by Gabriel L. Oliveira
I'm starting learning rails, and having some troubles on configure cucumber to run my bdd tests.
What I want is run
cucumber features
and this translate to
cucumber features --format pretty
I tried to do this editing the config/cucumber.yml file (on a rails project).
Edited the line:
default: <%= std_opts % features
resulting on:
default: <%= std_opts % --format pretty features
But it make some erros happen:
Using the default profile...
All but one formatter must use --out, only one can print to each stream (or STDOUT) (RuntimeError)
What I can do to make this option "--format pretty" default?
Also, is there any other good option to put as default to make result more clear?
Thank you.