From: Neil Smith Date: Wed, 18 Jul 2012 08:07:38 +0000 (+0100) Subject: Added simplecov X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;p=erd-marker.git Added simplecov --- diff --git a/.gitignore b/.gitignore index 63a685e..e4a9611 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,12 @@ doc # jeweler generated pkg +# simplecov +coverage + +# log files +*.log + # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: # # * Create a file at ~/.gitignore diff --git a/Gemfile b/Gemfile index f73bc3e..e4f65f8 100644 --- a/Gemfile +++ b/Gemfile @@ -12,4 +12,5 @@ group :development do gem "rake" gem "graph.njae" gem "porter2stemmer" + gem 'simplecov', :require => false, :group => :test end diff --git a/Gemfile.lock b/Gemfile.lock index d440e9c..8cec60c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,6 +4,7 @@ GEM diff-lcs (1.1.3) graph.njae (0.2.3) json (1.6.5) + multi_json (1.3.6) porter2stemmer (1.0.0) rake (0.9.2.2) rdoc (3.12) @@ -16,6 +17,10 @@ GEM rspec-expectations (2.8.0) diff-lcs (~> 1.1.2) rspec-mocks (2.8.0) + simplecov (0.6.4) + multi_json (~> 1.0) + simplecov-html (~> 0.5.3) + simplecov-html (0.5.3) PLATFORMS ruby @@ -27,3 +32,4 @@ DEPENDENCIES rake rdoc rspec + simplecov diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e82322e..d0c7f1a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,6 @@ +require 'simplecov' +SimpleCov.start + require 'rexml/document.rb' include REXML