Error creating formatter: Teamcity::Cucumber::Formatter (ArgumentError)

Hi

I recently upgraded to IntellijIdea 14.1.4 using Ruby plugin 7.1.0.20150617 and I am having the issue below when I try to run BDD feature from IntelliJIdea. I can run the cucumber BDD tests fine from command line. I am running Ruby version: ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.3.0] on MacOx Yosemite. Any idea how to fix the issue?

Regards,

Ayache

Error:

/Users/akhettar/.rvm/rubies/ruby-1.9.3-p551/bin/ruby -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/bin/cucumber /Users/akhettar/workspaces/inps/mhs-automation/features/critical.feature --format Teamcity::Cucumber::Formatter --expand --name "^Data insertion as a CRx user$" --color -r features Testing started at 05:00 ... WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1     WARNING > DEPRECATED: #default_wait_time= is deprecated, please use #default_max_wait_time= instead Running with TIME_OUT = 30 RUN_EVERYTHING = false TEST_ENV = http://liferay1.localhost.local:8080 BROWSER = firefox TEST_QUEUE_STOMP = activemq.localhost.local:61617 TEST_FABRIC = http://fabric1.localhost.local:9000 TEST_SOLR = http://solr.localhost.local:8983 wrong number of arguments (1 for 3) Error creating formatter: Teamcity::Cucumber::Formatter (ArgumentError) /Users/akhettar/Library/Application Support/IntelliJIdea14/ruby/rb/testing/patch/bdd/teamcity/cucumber/formatter_03103.rb:22:in `initialize' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:209:in `new' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:209:in `create_formatter' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:202:in `block in formatters' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:176:in `block in formatter_factories' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:171:in `map' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:171:in `formatter_factories' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:201:in `formatters' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:183:in `report' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:67:in `run!' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/cli/main.rb:32:in `execute!' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/bin/cucumber:8:in `<top (required)>' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/bin/cucumber:23:in `load' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/bin/cucumber:23:in `<top (required)>' -e:1:in `load' -e:1:in `<main>'


Gemfile

 
gem 'cucumber'
gem 'rspec'
gem 'capybara'
# The Selenium Grid RPM also needs updating to match the version
gem 'selenium-webdriver','2.47.1'
gem 'httparty'
gem 'faker'
gem 'poltergeist'
gem 'rspec-expectations'
gem 'waitutil'
gem 'json'
gem 'rsolr'
gem 'onstomp'
#gem 'onstomp', '~> 1.0.8'
gem 'nokogiri'
gem 'nokogiri-pretty'
#gem 'nokogiri','1.6.5'
gem 'equivalent-xml'
gem 'easy_diff', '~> 0.0.4'
2 comments
Comment actions Permalink

Hi,

At the moment we do not support the latest version of Cucumber. Work in progress.

https://youtrack.jetbrains.com/issue/RUBY-17157

0
Comment actions Permalink

Many thanks for your help, I will try to downgrade cucumber to a lower version.

0

Please sign in to leave a comment.