Skip to content

Commit

Permalink
Setup simplecov as developer dependency
Browse files Browse the repository at this point in the history
Sets a 75% coverage threshold to prevent things getting worse than the
current 76%
  • Loading branch information
tokengeek committed Dec 11, 2024
1 parent 400b2b0 commit 8548c46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions fog-brightbox.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "shindo"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "webmock"
spec.add_development_dependency "yard"
end
11 changes: 11 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
require "simplecov"

SimpleCov.start do
add_filter "/spec/"
add_filter "/config/"
add_filter "/vendor/"
end

# Currently just above 75% coverage - don't make it worse
SimpleCov.minimum_coverage 75

require "minitest/autorun"
require "fog/brightbox"
require "model_setup"
Expand Down

0 comments on commit 8548c46

Please sign in to comment.