Sha256: 24f62138207835102ddbbacba9de0492c1afd39fa32610908b98cbb5899e7c43

Contents?: true

Size: 814 Bytes

Versions: 29

Compression:

Stored size: 814 Bytes

Contents

base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
lib_dir  = File.join(base_dir, "lib")
test_dir = File.join(base_dir, "test")

require "test-unit"
require "test/unit/rr"

$LOAD_PATH.unshift(lib_dir)
$LOAD_PATH.unshift(test_dir)

ENV["TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"] ||= "5000"

if ENV['CI']
  require 'simplecov'
  require 'coveralls'
  Coveralls.wear!

  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[Coveralls::SimpleCov::Formatter]
  SimpleCov.start 'test_frameworks'
end

if ENV["COVERAGE"]
  require 'simplecov'
  SimpleCov.start 'test_frameworks'

  if ENV['CIRCLE_ARTIFACTS'] # https://circleci.com/docs/code-coverage
    dir = File.join(ENV['CIRCLE_ARTIFACTS'], "coverage")
    SimpleCov.coverage_dir(dir)
  end
end

exit Test::Unit::AutoRunner.run(true, test_dir)

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
embulk-output-mailchimp-0.3.31 test/run-test.rb
embulk-output-mailchimp-0.3.28 test/run-test.rb
embulk-output-mailchimp-0.3.25 test/run-test.rb
embulk-output-mailchimp-0.3.24 test/run-test.rb
embulk-output-mailchimp-0.3.23 test/run-test.rb
embulk-output-mailchimp-0.3.22 test/run-test.rb
embulk-output-mailchimp-0.3.21 test/run-test.rb
embulk-output-mailchimp-0.3.20 test/run-test.rb
embulk-output-mailchimp-0.3.19 test/run-test.rb
embulk-output-mailchimp-0.3.18 test/run-test.rb
embulk-output-mailchimp-0.3.17 test/run-test.rb
embulk-output-mailchimp-0.3.16 test/run-test.rb
embulk-output-mailchimp-0.3.15 test/run-test.rb
embulk-output-mailchimp-0.3.14 test/run-test.rb
embulk-output-mailchimp-0.3.13 test/run-test.rb
embulk-output-mailchimp-0.3.12 test/run-test.rb
embulk-output-mailchimp-0.3.11 test/run-test.rb
embulk-output-mailchimp-0.3.10 test/run-test.rb
embulk-output-mailchimp-0.3.9 test/run-test.rb
embulk-output-mailchimp-0.3.7 test/run-test.rb