Sha256: b6265babe2ae9d9c582d1a13044e41c8535616208e28773452ca5d380e64a009
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
require "simplecov" SimpleCov.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/filter_mesosphere_filter' class Test::Unit::TestCase end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-mesosphere-filter-0.1.12 | test/helper.rb |