I am trying to get some old “rbehave” scripts working with cucumber. I
am running into an error. I get the same error when I run the
You must gem install win32console to get coloured output on this ruby
C:/work/cucumber/bin/…/lib/cucumber/tree/feature.rb:37:in add_scenario': wrong number of arguments (1 for 2) (ArgumentError) from C:/work/cucumber/bin/../lib/cucumber/tree/feature.rb:37:inScenari
from C:/work/cucumber/bin/…/lib/cucumber/tree/feature.rb:13:in instanc e_eval' from C:/work/cucumber/bin/../lib/cucumber/tree/feature.rb:13:ininitial
from C:/work/cucumber/bin/…/lib/cucumber/tree.rb:8:in new' from C:/work/cucumber/bin/../lib/cucumber/tree.rb:8:inFeature’
:in gem_original_require' from c:/ruby-186-26/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27 :inrequire’
from C:/work/cucumber/bin/…/lib/cucumber/cli.rb:188:in require_files' from C:/work/cucumber/bin/../lib/cucumber/cli.rb:186:ineach’
from C:/work/cucumber/bin/…/lib/cucumber/cli.rb:186:in require_files' from C:/work/cucumber/bin/../lib/cucumber/cli.rb:165:inexecute!’
from C:/work/cucumber/bin/…/lib/cucumber/cli.rb:11:in `execute’
Command failed with status (1): [c:/ruby-186-26/bin/ruby -I
Afterwards, I converted my test to use the new *.feature format and this
I am curious what the thinking is about supporting the old format. I suspect
that I’ll be moving to the new format, but want to know what the feeling is
Interesting you should ask. I added it to make the migration easier
for those who used it.
However, I have a feeling that very few are using it, so in the long
run I’d like to bag it.
Maybe deprecate it in next release and bag it 2-3 releases later.