Skip to content

Commit

Permalink
Use Simplecov to measure test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki45 committed May 27, 2015
1 parent 08ced84 commit 4aebbb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions mixed_gauge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'sqlite3'
end
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
require 'simplecov'
SimpleCov.start do
add_filter '/spec'
end

require 'pry'

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
Expand Down

0 comments on commit 4aebbb0

Please sign in to comment.