aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
blob: 999fa1013961efa9929520a71d46a66973faf8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
begin
  require "minitest/autorun"
  require "minitest/reporters"
  Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
  require "mocha/setup"
  require "parallel_tests/test/runtime_logger"
  require "simplecov" if ENV["HOMEBREW_TESTS_COVERAGE"]
rescue LoadError
  abort "Run `bundle install` before running the tests."
end

$LOAD_PATH.unshift(File.expand_path("#{ENV["HOMEBREW_LIBRARY"]}/Homebrew"))
$LOAD_PATH.unshift(File.expand_path("#{ENV["HOMEBREW_LIBRARY"]}/Homebrew/test/support/lib"))

require "global"

require "test/support/helper/test_case"
require "test/support/helper/integration_command_test_case"