Cucumber 失败场景未提供详细信息 (Ubuntu)

发布于 2024-09-04 23:45:11 字数 359 浏览 5 评论 0原文

当我从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

剩余の解释 2024-09-11 23:45:11

黄瓜因 Nokogiri 失败
http://blog.gmane.org/gmane.comp。 programming.tools.cucumber/page=17

基本上,像这样运行cucumber:

cucumber -f pretty

这应该可以帮助您找到问题......

Cucumber Failing with Nokogiri
http://blog.gmane.org/gmane.comp.programming.tools.cucumber/page=17

Basically, run cucumber like so:

cucumber -f pretty

And that should help you track down the problem...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文