Add configurable exception reporter Avoid leaking tool exceptions by sending them to a configurable exception reporter Add optional context to pass to tools Add basic instrumentation data/labels
23 lines
450 B
Ruby
23 lines
450 B
Ruby
# frozen_string_literal: true
|
|
|
|
ENV["RAILS_ENV"] ||= "test"
|
|
|
|
require "bundler/setup"
|
|
require "model_context_protocol"
|
|
|
|
require "minitest/autorun"
|
|
require "minitest/reporters"
|
|
require "minitest/mock"
|
|
require "mocha/minitest"
|
|
|
|
require "active_support"
|
|
require "active_support/test_case"
|
|
|
|
require_relative "instrumentation_test_helper"
|
|
|
|
Minitest::Reporters.use!(Minitest::Reporters::ProgressReporter.new)
|
|
|
|
module ActiveSupport
|
|
class TestCase
|
|
end
|
|
end
|