rubyx/test/helper.rb
Torsten Ruger e86ca5ae9d integer was wrong padded§ length
or rather right (2 as should be and will be)
but currently we use next AND value + type means 3, rounded 4
because we can’t swap types at compile time (as is planned at runtime,
we use next OR value)
2018-05-30 14:55:17 +03:00

25 lines
632 B
Ruby

require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :test)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
if ENV['CODECLIMATE_REPO_TOKEN']
require 'simplecov'
SimpleCov.start { add_filter "/test/" }
end
require "minitest/color"
require "minitest/autorun"
#require "minitest/fail_fast"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))
require 'rubyx'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }