1
0

Add simplecov

Makes it easier to figure out what is covered by specs
This commit is contained in:
Tim Kächele 2021-03-06 21:53:52 +01:00
parent 65dd309569
commit 26b3be7359
3 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,7 @@ GEM
ast (2.4.2) ast (2.4.2)
concurrent-ruby (1.1.8) concurrent-ruby (1.1.8)
diff-lcs (1.4.4) diff-lcs (1.4.4)
docile (1.3.5)
factory_bot (6.1.0) factory_bot (6.1.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
i18n (1.8.9) i18n (1.8.9)
@ -52,6 +53,12 @@ GEM
rubocop-ast (1.4.1) rubocop-ast (1.4.1)
parser (>= 2.7.1.5) parser (>= 2.7.1.5)
ruby-progressbar (1.11.0) ruby-progressbar (1.11.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.2)
tzinfo (2.0.4) tzinfo (2.0.4)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
unicode-display_width (2.0.0) unicode-display_width (2.0.0)
@ -66,6 +73,7 @@ DEPENDENCIES
rake (~> 12.0) rake (~> 12.0)
rspec (~> 3.0) rspec (~> 3.0)
rubocop (~> 1.11) rubocop (~> 1.11)
simplecov (~> 0.21)
BUNDLED WITH BUNDLED WITH
2.1.4 2.1.4

View File

@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency('rubocop', '~> 1.11') spec.add_development_dependency('rubocop', '~> 1.11')
spec.add_development_dependency('factory_bot', '~> 6.1') spec.add_development_dependency('factory_bot', '~> 6.1')
spec.add_development_dependency('simplecov', '~> 0.21')
end end

View File

@ -2,6 +2,8 @@
require 'bundler/setup' require 'bundler/setup'
require 'factory_bot' require 'factory_bot'
require 'simplecov'
SimpleCov.start
require 'planet_express' require 'planet_express'
RSpec.configure do |config| RSpec.configure do |config|