Code coverage - Ramaze/ramaze GitHub Wiki

simplecov (for ruby 1.9)

First add to your Gemfile:

group :development do
  gem 'simplecov'
end

Then add the following to where it will be ran, for example at the top of your spec_helper.rb if you are using rspec.

require 'simplecov'
SimpleCov.start