Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Add and config SimpleCov
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Dec 29, 2019
1 parent eb8335d commit 793e417
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ GEM
concurrent-ruby (1.1.5)
database_cleaner (1.7.0)
diff-lcs (1.3)
docile (1.3.2)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
json (2.3.0)
method_source (0.9.2)
minitest (5.13.0)
pry (0.12.2)
Expand All @@ -43,6 +45,11 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.4.1)
thread_safe (0.3.6)
tzinfo (1.2.6)
Expand All @@ -58,6 +65,7 @@ DEPENDENCIES
pry
rake (~> 10.0)
rspec (~> 3.0)
simplecov (= 0.17.1)
sqlite3 (>= 1.3.6)
tapping_device!

Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
require "pry"
require "model"
require "database_cleaner"
require 'simplecov'
SimpleCov.start

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand Down
1 change: 1 addition & 0 deletions tapping_device.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "simplecov", "0.17.1"
end

0 comments on commit 793e417

Please sign in to comment.