Commit 512d8a77 by source_reader

added coverage reports to rspec

parent 6f45a3e4
Showing with 33 additions and 1 deletions
......@@ -68,6 +68,7 @@ group :local, :development, :test do
gem 'faker'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
gem 'coveralls', require: false
end
# NOTE: install mailcatcher for development
......@@ -82,6 +83,7 @@ end
group :test do
gem 'simplecov', :require => false
gem 'simplecov-console', :require => false
end
group :production do
......
......@@ -46,6 +46,7 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
airbrussh (1.3.1)
sshkit (>= 1.6.1, != 1.7.0)
ansi (1.5.0)
arel (9.0.0)
ast (2.4.0)
backports (3.11.4)
......@@ -82,6 +83,12 @@ GEM
xpath (~> 3.2)
coderay (1.1.2)
concurrent-ruby (1.1.5)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.4)
......@@ -159,6 +166,7 @@ GEM
rubocop (~> 0.20)
hashdiff (0.3.7)
hashie (3.5.7)
hirb (0.7.3)
httparty (0.16.3)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
......@@ -318,6 +326,10 @@ GEM
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-console (0.4.2)
ansi
hirb
simplecov
simplecov-html (0.10.2)
spring (2.0.2)
activesupport (>= 4.2)
......@@ -335,6 +347,8 @@ GEM
sshkit (1.18.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
term-ansicolor (1.7.1)
tins (~> 1.0)
terminal-notifier (2.0.0)
terminal-notifier-guard (1.7.0)
thin (1.7.2)
......@@ -344,6 +358,7 @@ GEM
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.9)
tins (1.20.2)
turbolinks (5.2.0)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
......@@ -383,6 +398,7 @@ DEPENDENCIES
capistrano-passenger
capistrano-rails (~> 1.2)
capistrano-rbenv (~> 2.0)
coveralls
cucumber-rails
database_cleaner
devise_invitable
......@@ -408,6 +424,7 @@ DEPENDENCIES
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
simplecov
simplecov-console
spring
spring-commands-rspec
sqlite3
......
......@@ -17,8 +17,21 @@
# users commonly want.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'simplecov'
SimpleCov.start
require 'simplecov-console'
SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::Console,
])
SimpleCov.start 'rails' do
add_group "Models", "app/models"
add_group "Controllers", "app/controllers"
add_group "Services", "app/services"
add_group "Adapters","app/adapters"
end
require 'webmock/rspec'
......
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 sign in to comment