Skip to content

Commit c173375

Browse files
author
Alex Zvorygin
committed
Add test coverage reporting
1 parent c34296d commit c173375

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ csv-safe*.gem
1313
# rspec failure tracking
1414
.rspec_status
1515
Gemfile.lock
16+
coverage

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ group :development, :test do
88
gem 'pry', '~> 0.10.4'
99
gem 'rubocop', '~> 0.58.2'
1010
end
11+
12+
gem 'simplecov', require: false, group: :test
13+

spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require 'simplecov'
2+
SimpleCov.start
3+
14
require 'bundler/setup'
25

36
RSpec.configure do |config|

0 commit comments

Comments
 (0)