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)
- Make sure that Cucumber support is enabled in your project.
- Open
cucumber.rake
file for editing. By default, it contains the following code: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"]
See Also
Procedures:
Last modified: 21 July 2016