2017-08-13 08:55:53 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-06-08 08:53:26 -04:00
|
|
|
$: << File.expand_path("test", COMPONENT_ROOT)
|
2016-03-01 23:49:08 -05:00
|
|
|
|
2016-08-06 13:22:51 -04:00
|
|
|
require "bundler"
|
2016-03-01 23:49:08 -05:00
|
|
|
Bundler.setup
|
|
|
|
|
2017-06-25 13:08:26 -04:00
|
|
|
require "rails/test_unit/runner"
|
|
|
|
require "rails/test_unit/reporter"
|
2016-12-17 03:57:43 -05:00
|
|
|
require "rails/test_unit/line_filtering"
|
2017-06-25 13:08:26 -04:00
|
|
|
require "active_support"
|
2016-12-17 03:57:43 -05:00
|
|
|
require "active_support/test_case"
|
2015-06-08 08:53:26 -04:00
|
|
|
|
2016-12-17 03:57:43 -05:00
|
|
|
ActiveSupport::TestCase.extend Rails::LineFiltering
|
2020-06-13 18:00:14 -04:00
|
|
|
Rails::TestUnitReporter.app_root = COMPONENT_ROOT
|
2015-06-13 05:56:32 -04:00
|
|
|
Rails::TestUnitReporter.executable = "bin/test"
|
2017-06-25 13:08:26 -04:00
|
|
|
|
|
|
|
Rails::TestUnit::Runner.parse_options(ARGV)
|
|
|
|
Rails::TestUnit::Runner.run(ARGV)
|