Cucumber 失败场景未提供详细信息 (Ubuntu)
当我从 Ubuntu 服务器运行 Cucumber 时,我没有获得有关该场景失败原因的详细信息。例如,这是我得到的:
...... cucumber features/messaging.feature:6 # 场景:Joe 可以查看他的收件箱 cucumber features/messaging.feature:14 # 场景:Joe 可以发送消息 cucumber features/messaging.feature:26 # 场景:Joe 可以在收件箱中查看消息 cucumber features/messaging.feature:35 # 场景:Joe 可以回复消息 .....
我是否需要配置或传递给 cucumber 命令来查看失败场景的详细信息?
When I run cucumber from my Ubuntu server I don't get details on why the scenario is failing. For example here is what I get:
.....
cucumber features/messaging.feature:6 # Scenario: Joe can view his inbox
cucumber features/messaging.feature:14 # Scenario: Joe can send a message
cucumber features/messaging.feature:26 # Scenario: Joe can view a message in his inbox
cucumber features/messaging.feature:35 # Scenario: Joe can reply to a message
.....
Is there something I need to configure or pass to the cucumber command to see the details of the failed scenarios??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
黄瓜因 Nokogiri 失败
http://blog.gmane.org/gmane.comp。 programming.tools.cucumber/page=17
基本上,像这样运行cucumber:
这应该可以帮助您找到问题......
Cucumber Failing with Nokogiri
http://blog.gmane.org/gmane.comp.programming.tools.cucumber/page=17
Basically, run cucumber like so:
And that should help you track down the problem...