Skip to content

Commit

Permalink
add SimpleCov
Browse files Browse the repository at this point in the history
  • Loading branch information
thoherr committed Oct 22, 2024
1 parent 51dc07f commit c7ff4d1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ REVISION
/yarn-error.log
yarn-debug.log*
.yarn-integrity

coverage/
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ group :development, :test do
gem 'listen'
end

gem 'simplecov', require: false, group: :test

group :production do
gem 'mysql2'
end
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ GEM
warden (~> 1.2.3)
devise-i18n (1.12.1)
devise (>= 4.9.0)
docile (1.4.1)
drb (2.2.1)
erubi (1.13.0)
execjs (2.9.1)
Expand Down Expand Up @@ -279,6 +280,12 @@ GEM
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
semantic_range (3.0.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
Expand Down Expand Up @@ -345,6 +352,7 @@ DEPENDENCIES
rubyzip
sass-rails
selenium-webdriver
simplecov
sqlite3
uglifier
validate_url
Expand Down
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
Expand Down

0 comments on commit c7ff4d1

Please sign in to comment.