Single column Date table issue:Groovy:Date variable '_' needs to be declared as method parameter
Another way to achieve single column is to use data pipes http://spockframework.org/spock/docs/1.0/data_driven_testing.html
where:
editStatus << [FINISHED, CANCELED]
The parameter list has to be either ()
or (Status editStatus, _)
. (You can't declare just one data variable but not the other.) There is an open pull request to allow (Status editStatus)
in this particular case.