Просмотр исходного кода

Maintenance: Drop obsolete use of orphaned coverage modules.

Martin Gruner 3 лет назад
Родитель
Сommit
2b78f5fff7
4 измененных файлов с 0 добавлено и 54 удалено
  1. 0 3
      .gitignore
  2. 0 5
      Gemfile
  3. 0 23
      Gemfile.lock
  4. 0 23
      test/support/coverage.rb

+ 0 - 3
.gitignore

@@ -95,9 +95,6 @@
 # Byebug
 /.byebug_history
 
-# SimpleCov
-/coverage
-
 # RDoc / YARD
 /doc
 

+ 0 - 5
Gemfile

@@ -177,11 +177,6 @@ group :development, :test do
   # for testing Pundit authorisation policies in RSpec
   gem 'pundit-matchers'
 
-  # code coverage
-  gem 'coveralls', require: false
-  gem 'simplecov'
-  gem 'simplecov-rcov'
-
   # UI tests w/ Selenium
   gem 'capybara'
   gem 'selenium-webdriver'

+ 0 - 23
Gemfile.lock

@@ -159,12 +159,6 @@ GEM
     concurrent-ruby (1.1.9)
     console (1.13.1)
       fiber-local
-    coveralls (0.7.1)
-      multi_json (~> 1.3)
-      rest-client
-      simplecov (>= 0.7)
-      term-ansicolor
-      thor
     crack (0.4.5)
       rexml
     crass (1.0.6)
@@ -181,7 +175,6 @@ GEM
       activesupport (>= 4.2)
     diff-lcs (1.4.4)
     diffy (3.4.0)
-    docile (1.4.0)
     domain_name (0.5.20190701)
       unf (>= 0.0.5, < 1.0.0)
     doorkeeper (5.5.4)
@@ -561,14 +554,6 @@ GEM
       activesupport (>= 5.2.0)
     simple_oauth (0.3.1)
     simple_po_parser (1.1.5)
-    simplecov (0.21.2)
-      docile (~> 1.1)
-      simplecov-html (~> 0.11)
-      simplecov_json_formatter (~> 0.1)
-    simplecov-html (0.12.3)
-    simplecov-rcov (0.2.3)
-      simplecov (>= 0.4.1)
-    simplecov_json_formatter (0.1.3)
     slack-notifier (2.4.0)
     slack-ruby-client (1.0.0)
       faraday (>= 1.0)
@@ -589,21 +574,16 @@ GEM
       actionpack (>= 5.2)
       activesupport (>= 5.2)
       sprockets (>= 3.0.0)
-    sync (0.5.0)
     tcr (0.2.2)
     telegramAPI (1.4.2)
       rest-client (~> 2.0, >= 2.0.2)
     telephone_number (1.4.13)
-    term-ansicolor (1.7.1)
-      tins (~> 1.0)
     test-unit (3.5.3)
       power_assert
     thor (1.1.0)
     thread_safe (0.3.6)
     tilt (2.0.10)
     timers (4.3.3)
-    tins (1.29.1)
-      sync
     twilio-ruby (5.63.0)
       faraday (>= 0.9, < 2.0)
       jwt (>= 1.5, <= 2.5)
@@ -681,7 +661,6 @@ DEPENDENCIES
   coffee-rails
   coffeelint
   composite_primary_keys
-  coveralls
   csv
   daemons
   dalli
@@ -752,8 +731,6 @@ DEPENDENCIES
   sassc-rails
   selenium-webdriver
   shoulda-matchers
-  simplecov
-  simplecov-rcov
   slack-notifier
   slack-ruby-client
   spring

+ 0 - 23
test/support/coverage.rb

@@ -1,23 +0,0 @@
-# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
-
-return if !ENV['TRAVIS_CI']
-
-require 'simplecov'
-require 'simplecov-rcov'
-require 'coveralls'
-
-Coveralls.wear!
-
-class ActiveSupport::TestCase
-
-  # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
-  #
-  # Note: You'll currently still have to declare fixtures explicitly in integration tests
-  # -- they do not yet inherit this setting
-  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
-                                                                   SimpleCov::Formatter::RcovFormatter,
-                                                                   Coveralls::SimpleCov::Formatter
-                                                                 ])
-  SimpleCov.start
-  fixtures :all
-end