RubyMine 2017.2 Help

Enabling Test Runner UI for Cucumber Features

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.

To enable using test runner UI for Cucumber features (RubyMine version 4.x)

  1. Make sure that Cucumber support is enabled in your project.
  2. Open cucumber.rake file for editing. By default, it contains the following code:
    t cumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty'), "--expand"]
  3. Change this line to specify the RubyMine formatter:
    t cumber_opts = ['--format', "Teamcity::Cucumber:Formatter", "--expand"]

See Also


Last modified: 21 July 2017