Add simplecov for coverage reports
This commit is contained in:
parent
9582315e59
commit
d168a36fda
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,3 +9,6 @@
|
|||||||
|
|
||||||
# rspec failure tracking
|
# rspec failure tracking
|
||||||
.rspec_status
|
.rspec_status
|
||||||
|
|
||||||
|
# Ignore coverage reports
|
||||||
|
coverage/
|
||||||
|
2
Gemfile
2
Gemfile
@ -12,3 +12,5 @@ gem "rspec", "~> 3.0"
|
|||||||
gem "standard", "~> 1.3"
|
gem "standard", "~> 1.3"
|
||||||
|
|
||||||
gem "factory_bot", "~> 6.3"
|
gem "factory_bot", "~> 6.3"
|
||||||
|
|
||||||
|
gem "simplecov", "~> 0.22.0", require: false
|
||||||
|
@ -23,6 +23,7 @@ GEM
|
|||||||
concurrent-ruby (1.2.2)
|
concurrent-ruby (1.2.2)
|
||||||
connection_pool (2.4.1)
|
connection_pool (2.4.1)
|
||||||
diff-lcs (1.5.0)
|
diff-lcs (1.5.0)
|
||||||
|
docile (1.4.0)
|
||||||
drb (2.1.1)
|
drb (2.1.1)
|
||||||
ruby2_keywords
|
ruby2_keywords
|
||||||
factory_bot (6.3.0)
|
factory_bot (6.3.0)
|
||||||
@ -76,6 +77,12 @@ GEM
|
|||||||
rubocop-ast (>= 0.4.0)
|
rubocop-ast (>= 0.4.0)
|
||||||
ruby-progressbar (1.13.0)
|
ruby-progressbar (1.13.0)
|
||||||
ruby2_keywords (0.0.5)
|
ruby2_keywords (0.0.5)
|
||||||
|
simplecov (0.22.0)
|
||||||
|
docile (~> 1.1)
|
||||||
|
simplecov-html (~> 0.11)
|
||||||
|
simplecov_json_formatter (~> 0.1)
|
||||||
|
simplecov-html (0.12.3)
|
||||||
|
simplecov_json_formatter (0.1.4)
|
||||||
standard (1.31.2)
|
standard (1.31.2)
|
||||||
language_server-protocol (~> 3.17.0.2)
|
language_server-protocol (~> 3.17.0.2)
|
||||||
lint_roller (~> 1.0)
|
lint_roller (~> 1.0)
|
||||||
@ -100,6 +107,7 @@ DEPENDENCIES
|
|||||||
rake (~> 13.0)
|
rake (~> 13.0)
|
||||||
rex!
|
rex!
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
|
simplecov (~> 0.22.0)
|
||||||
standard (~> 1.3)
|
standard (~> 1.3)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "simplecov"
|
||||||
|
|
||||||
|
SimpleCov.start
|
||||||
require "rex"
|
require "rex"
|
||||||
require 'factory_bot'
|
|
||||||
Dir[
|
Dir[
|
||||||
File.join(
|
File.join(
|
||||||
File.expand_path("../support", __FILE__),
|
File.expand_path("../support", __FILE__),
|
||||||
|
Loading…
Reference in New Issue
Block a user