Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 更改cucumber报告的输出路径_Ruby_Cucumber_Output_Report - Fatal编程技术网

Ruby 更改cucumber报告的输出路径

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

我有一个关于黄瓜和红宝石的问题。我的项目中有cucumber.yml文件,我根据以下行生成报告:

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

但是我需要每次执行测试都在不同的文件夹中创建此报告。我将此路径保存在变量中。有可能吗?我可以从cucumber.yml文件中跳过此配置吗?

尝试使用:

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