Sha256: 87763b7d7ecb2065e07a78effffdc3829669b861c9a3d16772fc3e93c9a91e9c

Contents?: true

Size: 957 Bytes

Versions: 3

Compression:

Stored size: 957 Bytes

Contents

# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'codeclimate-test-reporter'
require 'simplecov'

CodeClimate::TestReporter.start

SimpleCov.start do
  add_filter { |source| source.lines_of_code <= 3 }
  add_filter { |source| source.filename =~ /spec/ }

  add_group('Adapters') { |source| source.filename =~ %r{lib/basquiat/adapters} }
  add_group('RabbitMQ') { |source| source.filename =~ %r{lib/basquiat/adapters/rabbitmq} }
  add_group('Errors') { |source| source.filename =~ %r{lib/basquiat/errors} }
  add_group('Interfaces') { |source| source.filename =~ %r{lib/basquiat/interfaces} }
  add_group('Main') { |source| source.filename =~ %r{lib/basquiat\.rb$} }
  add_group('Support') { |source| source.filename =~ %r{lib/basquiat/support} }
end

ENV['BASQUIAT_ENV'] = 'test'
require 'basquiat'

require 'support/shared_examples/basquiat_adapter_shared_examples'
require 'support/rabbitmq_queue_matchers'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basquiat-1.3.2 spec/spec_helper.rb
basquiat-1.3.1 spec/spec_helper.rb
basquiat-1.3.0 spec/spec_helper.rb