在Given-When-Then Gherkin / Groovy中使用变量

时间:2018-03-05 18:54:05

标签: groovy spock gherkin

我想在我的Given -When中使用日期变量 - 然后,我正在做以下但是它给出了错误。

 where: "For #sql_date"
    variable << condition1

然而,在我的Spock报告中,它给了我这样的输出

其中: 对于#Error:sql_date

如何在where。

中使用sql_date变量

0 个答案:

没有答案
相关问题