Skip to content

Commit

Permalink
Added simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Augusto committed Mar 14, 2024
1 parent dede7d6 commit 8e769be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ gem "rake", "~> 13.0"
gem "rubocop", "~> 1.21"
gem "rubocop-minitest", "~> 0.34.5", require: false
gem "rubocop-rake", "~> 0.6.0"
gem "simplecov", "~> 0.22.0", require: false
gem "webmock", "~> 3.23"
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ GEM
crack (1.0.0)
bigdecimal
rexml
docile (1.4.0)
domain_name (0.6.20240107)
ffi (1.16.3)
ffi-compiler (1.0.1)
Expand Down Expand Up @@ -78,6 +79,12 @@ GEM
rubocop-rake (0.6.0)
rubocop (~> 1.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
Expand All @@ -99,6 +106,7 @@ DEPENDENCIES
rubocop (~> 1.21)
rubocop-minitest (~> 0.34.5)
rubocop-rake (~> 0.6.0)
simplecov (~> 0.22.0)
webmock (~> 3.23)
zspay!

Expand Down
6 changes: 6 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)

require "simplecov"
SimpleCov.start do
add_filter "/test/"
end

require "zspay"

require "webmock"
Expand Down

0 comments on commit 8e769be

Please sign in to comment.