我想从黄瓜.feature文件传递数组值作为参数,所以我可以从步骤定义文件中访问它:
我使用这种格式:
Examples: |r1|t1| |abc|[aa,bb,cc]|
但我得到一个错误 undefined method'for"[aa,bb,cc]":String(NoMethodError)`
undefined method
是否可以从.feature文件传递数组?
automated-tests ruby-on-rails cucumber gherkin
automated-tests ×1
cucumber ×1
gherkin ×1
ruby-on-rails ×1