Skip to content

Commit

Permalink
SimpleCovを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
unikounio committed Jan 8, 2025
1 parent 1d41cfd commit 20c4817
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 @@ -52,4 +52,5 @@ end
group :test do
gem 'capybara', require: false
gem 'selenium-webdriver', require: false
gem 'simplecov', require: false
end
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ GEM
devise-i18n (1.12.1)
devise (>= 4.9.0)
diff-lcs (1.5.1)
docile (1.4.1)
dockerfile-rails (1.6.25)
rails (>= 3.0.0)
dotenv (3.1.4)
Expand Down Expand Up @@ -387,6 +388,12 @@ GEM
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
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)
slim (5.2.1)
temple (~> 0.10.0)
tilt (>= 2.1.0)
Expand Down Expand Up @@ -503,6 +510,7 @@ DEPENDENCIES
rubocop-rspec_rails
selenium-webdriver
sidekiq
simplecov
slim-rails
slim_lint
sprockets-rails
Expand Down
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# frozen_string_literal: true

require 'simplecov'

SimpleCov.start do
add_filter ['vendor/', 'spec/', 'config/']
end

# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
Expand Down

0 comments on commit 20c4817

Please sign in to comment.