Ruby 更改cucumber报告的输出路径
我有一个关于黄瓜和红宝石的问题。我的项目中有cucumber.yml文件,我根据以下行生成报告: html:--format html--out=reports/relatorio.html 但是我需要每次执行测试都在不同的文件夹中创建此报告。我将此路径保存在变量中。有可能吗?我可以从cucumber.yml文件中跳过此配置吗?尝试使用:Ruby 更改cucumber报告的输出路径,ruby,cucumber,output,report,Ruby,Cucumber,Output,Report,我有一个关于黄瓜和红宝石的问题。我的项目中有cucumber.yml文件,我根据以下行生成报告: html:--format html--out=reports/relatorio.html 但是我需要每次执行测试都在不同的文件夹中创建此报告。我将此路径保存在变量中。有可能吗?我可以从cucumber.yml文件中跳过此配置吗?尝试使用: html:--format html--out=reports/{variablename}/relatorio.html 或: html:--format
html:--format html--out=reports/{variablename}/relatorio.html
或:
html:--format html--out=reports/${variablename}/relatorio.html
尝试使用:
html:--format html--out=reports/{variablename}/relatorio.html
或:
html:--format html--out=reports/${variablename}/relatorio.html