Commit 82c8a989 authored by hellekin's avatar hellekin

Use undercover for tracking missing specs

parent 1d3b6ab9
......@@ -36,6 +36,7 @@ group :development, :test do
gem 'rb-inotify', '~> 0.9'
gem 'rspec'
gem 'rspec-rails', '~> 3.7'
gem 'rugged' # Apparently this is broken
gem 'shoulda', require: false
gem 'shoulda-matchers'
end
......@@ -61,4 +62,8 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'simplecov', require: false
gem 'simplecov-lcov', require: false
gem 'undercover'
end
......@@ -138,6 +138,8 @@ GEM
nokogiri (~> 1.6)
open-uri-cached (= 0.0.5)
ice_nine (0.11.2)
imagen (0.1.5)
parser (>= 2.5, != 2.5.1.1)
jaro_winkler (1.5.1)
json (2.1.0)
jsonapi-deserializable (0.2.0)
......@@ -305,6 +307,7 @@ GEM
ruby_parser (~> 3.8)
tty-which (~> 0.3.0)
virtus (~> 1.0)
rugged (0.27.5)
seed_dump (3.3.1)
activerecord (>= 4)
activesupport (>= 4)
......@@ -321,6 +324,7 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
simplecov-lcov (0.7.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (3.7.2)
......@@ -335,6 +339,10 @@ GEM
tty-which (0.3.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
undercover (0.1.4)
imagen (~> 0.1.2)
rainbow (~> 3.0.0)
rugged (~> 0.27.0)
unicode-display_width (1.4.0)
uuid_parameter (0.2.4)
rails (~> 5.2.1)
......@@ -391,11 +399,14 @@ DEPENDENCIES
rspec
rspec-rails (~> 3.7)
rubycritic
rugged
seed_dump
shoulda
shoulda-matchers
simplecov
simplecov-lcov
spring
undercover
uuid_parameter
RUBY VERSION
......
......@@ -15,7 +15,14 @@
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'simplecov'
SimpleCov.start
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start do
add_filter(/^\/spec\//)
end
require 'undercover'
RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment