add code coverage reporting
This commit is contained in:
parent
9aaf58de12
commit
bcd7894e59
5 changed files with 24 additions and 3 deletions
3
Gemfile
3
Gemfile
|
|
@ -289,6 +289,9 @@ group :test do
|
|||
gem "shoulda-matchers", "3.1.1"
|
||||
|
||||
gem "diaspora_federation-test", "0.1.1"
|
||||
|
||||
# Coverage
|
||||
gem 'coveralls', require: false
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
|
|
|
|||
|
|
@ -135,6 +135,12 @@ GEM
|
|||
concurrent-ruby (1.0.2)
|
||||
configurate (0.3.1)
|
||||
connection_pool (2.2.0)
|
||||
coveralls (0.8.13)
|
||||
json (~> 1.8)
|
||||
simplecov (~> 0.11.0)
|
||||
term-ansicolor (~> 1.3)
|
||||
thor (~> 0.19.1)
|
||||
tins (~> 1.6.0)
|
||||
crack (0.4.3)
|
||||
safe_yaml (~> 1.0.0)
|
||||
cucumber (2.4.0)
|
||||
|
|
@ -825,6 +831,8 @@ GEM
|
|||
sysexits (1.2.0)
|
||||
systemu (2.6.5)
|
||||
temple (0.7.7)
|
||||
term-ansicolor (1.3.2)
|
||||
tins (~> 1.0)
|
||||
terminal-table (1.6.0)
|
||||
test_after_commit (1.0.0)
|
||||
activerecord (>= 3.2)
|
||||
|
|
@ -917,6 +925,7 @@ DEPENDENCIES
|
|||
carrierwave (= 0.11.2)
|
||||
compass-rails (= 2.0.5)
|
||||
configurate (= 0.3.1)
|
||||
coveralls
|
||||
cucumber-api-steps (= 0.13)
|
||||
cucumber-rails (= 1.4.3)
|
||||
database_cleaner (= 1.5.3)
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@
|
|||
### A privacy-aware, distributed, open source social network
|
||||
|
||||
**master:** [](http://travis-ci.org/diaspora/diaspora)
|
||||
**stable:** [](http://travis-ci.org/diaspora/diaspora) |
|
||||
**develop:** [](http://travis-ci.org/diaspora/diaspora) |
|
||||
**stable:** [](http://travis-ci.org/diaspora/diaspora)
|
||||
[](https://coveralls.io/github/diaspora/diaspora?branch=stable)|
|
||||
**develop:** [](http://travis-ci.org/diaspora/diaspora)
|
||||
[](https://coveralls.io/github/diaspora/diaspora?branch=develop) |
|
||||
[](https://gemnasium.com/diaspora/diaspora)
|
||||
[](https://codeclimate.com/github/diaspora/diaspora)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,12 @@ require "rubygems"
|
|||
|
||||
ENV["RAILS_ENV"] ||= "test"
|
||||
|
||||
# Have all rests run with english browser locale
|
||||
# Have all rests run with english browser locale
|
||||
ENV["LANG"] = "C"
|
||||
|
||||
require 'coveralls'
|
||||
Coveralls.wear!('rails')
|
||||
|
||||
require "cucumber/rails"
|
||||
|
||||
require "capybara/rails"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
# the COPYRIGHT file.
|
||||
|
||||
ENV["RAILS_ENV"] ||= "test"
|
||||
|
||||
require 'coveralls'
|
||||
Coveralls.wear!('rails')
|
||||
|
||||
require File.join(File.dirname(__FILE__), "..", "config", "environment")
|
||||
require Rails.root.join("spec", "helper_methods")
|
||||
require Rails.root.join("spec", "spec-doc")
|
||||
|
|
|
|||
Loading…
Reference in a new issue