1. Add the simplecov gem and start before anything else in test_helper.rb
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
SimpleCov.start
require 'rasam'
require 'minitest/autorun'
2. You can mark private methods as:
# :nocov:
to exclude from test coverage.
3. Run : rake test
4. Open coverage/index.html