Skip to content

Commit

Permalink
chore: add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
markokajzer committed Feb 8, 2024
1 parent 28105bf commit d049f1a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ end

group :test do
gem "rspec"
gem "simplecov", require: false
gem "timecop"
gem "webmock"
end
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ GEM
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.0)
ruby2_keywords
faraday (2.9.0)
Expand Down Expand Up @@ -106,6 +107,12 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
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)
standard (1.33.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
Expand Down Expand Up @@ -142,6 +149,7 @@ DEPENDENCIES
octokit
rspec
rubocop-rspec
simplecov
standard
terminal-table
timecop
Expand Down
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@
require "webmock/rspec"

Dir[File.expand_path("support/**/*.rb", __dir__)].sort.each { |f| require f }

require "simplecov"
SimpleCov.start

0 comments on commit d049f1a

Please sign in to comment.