simplecov-badge
simplecov-badge copied to clipboard
Make output_path accessible via config
What about being able to change the output dir, indeed, the coverage dir is often ignored in the git tree of projects I think.
This is how I deal with that right now. To put it in the spec folder.
SimpleCov.start do
require 'simplecov-badge'
require 'simplecov-json'
class SimpleCov::Formatter::BadgeFormatter
def output_path
File.expand_path("../", __FILE__)
end
end
end
I can work on this :)