Skip to content

Commit

Permalink
Add simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jul 9, 2024
1 parent f0e5441 commit 2e918bb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .simplecov
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require "simplecov"
SimpleCov.start do
add_filter "/spec/"
end
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ gemspec
gem "rake"

gem "rspec"
gem "debug"
gem "debug"
gem "simplecov"
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ GEM
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.1)
forwardable (1.3.3)
i18n (1.14.5)
Expand Down Expand Up @@ -56,6 +57,12 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
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)
stringio (3.1.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand All @@ -69,6 +76,7 @@ DEPENDENCIES
debug
rake
rspec
simplecov

BUNDLED WITH
2.5.10
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if ENV["CI"]
require "simplecov"
end

require "sof/cycle"
require "debug"

Expand Down

0 comments on commit 2e918bb

Please sign in to comment.