[ARVADOS] updated: ccdaeb4b5b55c0e97e4fccc21445e5b9cc53dbe2
git at public.curoverse.com
git at public.curoverse.com
Sun May 4 22:25:04 EDT 2014
Summary of changes:
apps/workbench/test/test_helper.rb | 5 ++++-
services/api/test/test_helper.rb | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
via ccdaeb4b5b55c0e97e4fccc21445e5b9cc53dbe2 (commit)
from 17d83fff53eea039e1483f86efd4a66056fed647 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ccdaeb4b5b55c0e97e4fccc21445e5b9cc53dbe2
Author: Tom Clegg <tom at curoverse.com>
Date: Sun May 4 22:23:51 2014 -0400
Omit locally configurable files and testing code from coverage report
diff --git a/apps/workbench/test/test_helper.rb b/apps/workbench/test/test_helper.rb
index ea5cb06..3ca0a6d 100644
--- a/apps/workbench/test/test_helper.rb
+++ b/apps/workbench/test/test_helper.rb
@@ -2,7 +2,10 @@ ENV["RAILS_ENV"] = "test"
unless ENV["NO_COVERAGE_TEST"]
begin
require 'simplecov'
- SimpleCov.start
+ SimpleCov.start do
+ add_filter '/test/'
+ add_filter 'initializers/secret_token'
+ end
rescue Exception => e
$stderr.puts "SimpleCov unavailable (#{e}). Proceeding without."
end
diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb
index faa1c64..d078674 100644
--- a/services/api/test/test_helper.rb
+++ b/services/api/test/test_helper.rb
@@ -2,7 +2,11 @@ ENV["RAILS_ENV"] = "test"
unless ENV["NO_COVERAGE_TEST"]
begin
require 'simplecov'
- SimpleCov.start
+ SimpleCov.start do
+ add_filter '/test/'
+ add_filter 'initializers/secret_token'
+ add_filter 'initializers/omniauth'
+ end
rescue Exception => e
$stderr.puts "SimpleCov unavailable (#{e}). Proceeding without."
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list