【问题标题】:How to print/embed logs into report.html in calabash android如何在calabash android中打印/嵌入日志到report.html
【发布时间】:2017-02-24 22:42:12
【问题描述】:

如何将日志打印/断言/嵌入到生成的 report.html 文件中? 例如

Then(/^I do some crazy stuff$/) do
  puts "this scenario does crazy stuff"
end

这种情况很疯狂应该出现在 report.html 中。 如果我使用 puts 它会在我不需要的终端上打印输出。

【问题讨论】:

    标签: cucumber calabash-android


    【解决方案1】:

    不确定这是否会有所帮助,但我发现了一个类似的问题和答案。 cucumber/ruby: possible to output the "puts" to a --format html file?

    【讨论】:

      猜你喜欢
      • 2012-08-22
      • 1970-01-01
      • 1970-01-01
      • 2012-10-13
      • 1970-01-01
      • 2022-01-22
      • 1970-01-01
      • 2017-08-10
      • 1970-01-01
      相关资源
      最近更新 更多