Add SimpleCov

This commit is contained in:
Hakan Ensari 2019-11-22 14:56:04 +00:00
parent a1506edb28
commit 94bb47ba6e
4 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,5 +2,6 @@
.bundle
.env
.sass-cache
coverage
pkg

View File

@ -29,6 +29,7 @@ group :test do
gem 'rack-test'
gem 'rubocop-performance'
gem 'rubocop-sequel'
gem 'simplecov'
gem 'vcr'
gem 'webmock'
end

View File

@ -8,6 +8,7 @@ GEM
concurrent-ruby (1.1.5)
crack (0.4.3)
safe_yaml (~> 1.0.0)
docile (1.3.2)
et-orbi (1.2.2)
tzinfo
fugit (1.3.3)
@ -17,6 +18,7 @@ GEM
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
json (2.2.0)
kgio (2.11.2)
method_source (0.9.2)
minitest (5.13.0)
@ -69,6 +71,11 @@ GEM
sequel (>= 4.38.0)
shotgun (0.9.2)
rack (>= 1.0)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sinatra (2.0.7)
mustermann (~> 1.0)
rack (~> 2.0)
@ -106,6 +113,7 @@ DEPENDENCIES
rufus-scheduler
sequel_pg
shotgun
simplecov
sinatra
unicorn
vcr

View File

@ -2,6 +2,13 @@
ENV['APP_ENV'] ||= 'test'
# Keep SimpleCov at top.
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
end
require_relative '../config/environment'
require 'minitest/autorun'