【问题标题】:Change the output path from the cucumber report更改黄瓜报告的输出路径
【发布时间】:2019-12-10 20:06:19
【问题描述】:

我有一个关于 Cucumber 和 Ruby 的问题。我的项目中有 cucumber.yml 文件,我根据这一行生成报告:

html: --format html --out=reports/relatorio.html

但我需要每次执行测试都在不同的文件夹中创建此报告。我将此路径保存在变量中。有可能这样做吗?我可以以某种方式从 cucumber.yml 文件中覆盖这些配置吗?

【问题讨论】:

    标签: ruby cucumber output report


    【解决方案1】:

    尝试使用:

    html: --format html --out=reports/{variablename}/relatorio.html

    或者:

    html: --format html --out=reports/${variablename}/relatorio.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-18
      • 2021-04-17
      • 1970-01-01
      • 2018-04-29
      • 2022-12-06
      • 2022-01-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多