Is there a possibility to run simplecov coverage-tool for rails just over an rake task and not every time, when running the tests?
You can sort of work around this using an environment variable:
SimpleCov.start if ENV["COVERAGE"]
And then, running rake test / rspec / cucumber with
$ COVERAGE=true rake test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With