如何将log/嵌入登录到calabash android中的report.html中



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

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

此方案可做疯狂的事情应该出现在report.html中。如果我使用 puts 它在我不希望的终端上打印输出。

不确定这是否会有所帮助,但我找到了一个带有答案的类似问题。Cucumber/Ruby:可以输出" puts"到一个-format HTML文件?

最新更新