Cucumber not outputting to the console
I'm playing with cucumber but for some reason the features and scenarios are not being outputt开发者_如何转开发ed to the console.
When I run
cucumber features
I get
Using the default profile...
....
1 scenario (1 passed)
4 steps (4 passed)
0m0.071s
So my tests have passed but I can't see my features or scenarios. Is there a command line flag or something?
Yes, you can use -f pretty
resp. --format pretty
.
I really like the html output too, especially when debugging my step definitions:
cucumber features -f html -o "path/to/some/file.html"
精彩评论