Sha256: 4ac16384dbdab32f5f0a14507da9e679566107cb00e4132152b3388923178024

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

require "simplecov"
SimpleCov.start
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

require 'rubygems'
require 'bundler'
require 'docker'
require 'timecop'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'
require 'pry'


require "simplecov"
require "codeclimate-test-reporter"
if ENV['CIRCLE_ARTIFACTS']
  dir = File.join("..", "..", "..", ENV['CIRCLE_ARTIFACTS'], "coverage")
  SimpleCov.coverage_dir(dir)
end



$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'fluent/test'
require 'webmock/test_unit'
WebMock.disable_net_connect!(:allow => "codeclimate.com")

if ENV.has_key?('VERBOSE')
  $log = Fluent::Log.new(Fluent::Test::DummyLogDevice.new, Fluent::Log::LEVEL_TRACE)
else
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end
Docker.url = 'tcp://example.com:5422'
require 'fluent/plugin/mesosphere'

class Test::Unit::TestCase
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-mesosphere-filter-0.1.3 test/helper.rb
fluent-plugin-mesosphere-filter-0.1.2 test/helper.rb
fluent-plugin-mesosphere-filter-0.1.1 test/helper.rb
fluent-plugin-mesosphere-filter-0.1.0 test/helper.rb