Skip to content

Commit

Permalink
Add simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascco committed Oct 17, 2023
1 parent e0089cf commit 1563911
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gemspec

gem "minitest", "~> 5.0"
gem "rake", "~> 13.0"
gem "simplecov", require: false, group: :test
gem "sorbet", group: :development
gem "sorbet-runtime"
gem "tapioca", require: false
12 changes: 10 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GEM
specs:
Ascii85 (1.1.0)
afm (0.2.2)
docile (1.4.0)
erubi (1.12.0)
hashery (2.1.2)
minitest (5.20.0)
Expand All @@ -27,6 +28,12 @@ GEM
sorbet-runtime (>= 0.5.9204)
yarp (>= 0.11.0)
ruby-rc4 (0.1.5)
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)
sorbet (0.5.11074)
sorbet-static (= 0.5.11074)
sorbet-runtime (0.5.11074)
Expand Down Expand Up @@ -56,7 +63,7 @@ GEM
yard-sorbet (0.8.1)
sorbet-runtime (>= 0.5)
yard (>= 0.9)
yarp (0.12.0)
yarp (0.13.0)

PLATFORMS
x86_64-linux
Expand All @@ -65,9 +72,10 @@ DEPENDENCIES
minitest (~> 5.0)
rake (~> 13.0)
rubrik!
simplecov
sorbet
sorbet-runtime
tapioca

BUNDLED WITH
2.4.19
2.4.20
3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"rubygems",
"ETSI",
"codebases",
"devcontainer"
"devcontainer",
"simplecov"
],
"ignoreWords": [],
"import": []
Expand Down
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# frozen_string_literal: true
# typed: true

require "simplecov"
SimpleCov.start

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "rubrik"
Expand Down

0 comments on commit 1563911

Please sign in to comment.