colszowka/simplecov — Issue #94: .simplecov invoked on all Rake tasks
Author: fj
Created: 2011-11-11 02:15:30+00:00
State: open

Following the advice in the README, I moved my `SimpleCov.start` block to a `.simplecov` file. However, this causes every database migration to generate coverage reports, which is not what I want.

I have temporarily worked around this by doing `SimpleCov.start { ... } if Rails.env.test?` instead. Is there a better way?