Could you tell me how to setup simplecov to test models with rspec and controller with cucumber only?
I don’t like it that rspec and cucumber coverage are mixed together…
Could you tell me how to setup simplecov to test models with rspec and
Share
SimpleCov.coverage_dir ‘coverage’This will allow you to set the directory where the coverage information will go. So one way to configure it will be to put
inside of your
test_helper, andinside of
features/support/env.rbThat should separate them. You probably also want to make sure to run the tests separately so that it doesn’t merge them.