diff --git a/.gitignore b/.gitignore index cfa2243..3981564 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ pkg/* .DS_Store *.pyc *.pyo -.venv \ No newline at end of file +.venv +coverage diff --git a/Gemfile b/Gemfile index afd9366..fcf68e4 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,5 @@ source "http://rubygems.org" # Specify your gem's dependencies in ..gemspec gemspec +gem 'simplecov' +gem 'simplecov-rcov' diff --git a/test/govspeak_test.rb b/test/govspeak_test.rb index e437175..39b57f4 100644 --- a/test/govspeak_test.rb +++ b/test/govspeak_test.rb @@ -1,3 +1,9 @@ +require 'simplecov' +require 'simplecov-rcov' + +SimpleCov.start +SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter + require 'test_helper' class GovspeakTest < Test::Unit::TestCase