Browse Source

Add code coverage tests

master
Christian Aust 2 weeks ago
parent
commit
63a372df87
4 changed files with 17 additions and 2 deletions
  1. +2
    -0
      .gitignore
  2. +6
    -2
      Gemfile
  3. +6
    -0
      Gemfile.lock
  4. +3
    -0
      spec/spec_helper.rb

+ 2
- 0
.gitignore View File

@ -1,4 +1,6 @@
/*.json
/coverage
# rspec failure tracking
.rspec_status

+ 6
- 2
Gemfile View File

@ -6,5 +6,9 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem 'ssl-test'
gem 'rake', '~> 12.0'
gem 'rspec', '~> 3.0'
group :development do
gem 'rake', '~> 12.0'
gem 'rspec', '~> 3.0'
end
gem 'simplecov', require: false, group: :test

+ 6
- 0
Gemfile.lock View File

@ -2,6 +2,7 @@ GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.4.4)
docile (1.3.2)
rake (12.3.3)
rspec (3.9.0)
rspec-core (~> 3.9.0)
@ -16,6 +17,10 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
simplecov (0.19.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.3)
ssl-test (1.3.1)
PLATFORMS
@ -24,6 +29,7 @@ PLATFORMS
DEPENDENCIES
rake (~> 12.0)
rspec (~> 3.0)
simplecov
ssl-test
BUNDLED WITH

+ 3
- 0
spec/spec_helper.rb View File

@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start
require 'bundler/setup'
require 'sanity'

Loading…
Cancel
Save