【问题标题】:Rspec's it block text is not getting printed on terminalRspec的它块文本没有在终端上打印
【发布时间】:2015-09-12 13:19:23
【问题描述】:

我有一个测试项目,其中有多个 IT 部门。一切都很顺利,但是,当我运行我的 rspec 测试时,我没有在终端上的 it 块中获取文本。相反,我只是在终端上得到绿点

谁能建议如何让它在我的终端上阻止文本?

这是 rspec gems 版本。

* 本地宝石 *

rspec (3.3.0)
rspec 核心 (3.3.1)
rspec-expectations (3.3.0)
rspec 模拟 (3.3.1)
rspec 支持 (3.3.0)

【问题讨论】:

    标签: rspec watir-webdriver rspec2


    【解决方案1】:

    为简洁起见,只需运行 rspec --format=documentationrspec -fd

    您可以使用rspec --help查看其他选项。

    干杯!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-17
      • 2010-10-06
      • 2019-12-22
      • 1970-01-01
      相关资源
      最近更新 更多