RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

SimpleCov adapter for Gems - 1.9 Coverage

The tiniest gem I think I’ll ever make is what seems to be a critically missing feature in SimpleCov (a Ruby 1.9 coverage tool), namely, a default configuration for gems. So do gem install simplecov-gem-adapter, then require 'simplecov', then SimpleCov.start 'gem' in your gem’s spec_helper.rb (or wherever your tests are).

Comments

No updates in over a month had me thinking that wouldn’t go through necessarily any time soon. So I figured share first, and then merge upstream.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in