diff --git a/.gitignore b/.gitignore index b837a7c34..27cac1f68 100644 --- a/.gitignore +++ b/.gitignore @@ -95,9 +95,6 @@ # Byebug /.byebug_history -# SimpleCov -/coverage - # RDoc / YARD /doc diff --git a/Gemfile b/Gemfile index bd1ab5920..356594b88 100644 --- a/Gemfile +++ b/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' diff --git a/Gemfile.lock b/Gemfile.lock index 96b3075c8..2371f5bec 100644 --- a/Gemfile.lock +++ b/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 diff --git a/test/support/coverage.rb b/test/support/coverage.rb deleted file mode 100644 index e9c0852ab..000000000 --- a/test/support/coverage.rb +++ /dev/null @@ -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