SimpleCov.coverage_dir 'coverage'
This will allow you to set the directory in which coverage information will be displayed. Thus, one way to configure it would be to place
if RUBY_VERSION > "1.9" require 'simplecov' SimpleCov.start 'rails' SimpleCov.coverage_dir 'coverage/rspec' end
inside test_helper and
if RUBY_VERSION > "1.9" require 'simplecov' SimpleCov.start 'rails' SimpleCov.coverage_dir 'coverage/cucumber' end
inside features/support/env.rb
That should separate them. You probably also want to run the tests separately so that they do not merge them.
source share