开发者

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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜