RubyMine makes it possible to use test runner that is specified in the config/cucumber.yml file. You do not need to change anything in this file, just use it as is.
- Make sure that Cucumber support is enabled in your project.
- Open cucumber.rake file for editing. By default, it contains the following
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty'), "--expand"]
- Change this line to specify the RubyMine formatter:
t.cucumber_opts = ['--format', "Teamcity::Cucumber:Formatter", "--expand"]