Sha256: 8f5c5dcdaf2051404300ff5b949763211c5b2e35f4c1de8bf6caefda76bba8e7

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require "minitest/utils/reporter"
require "minitest/utils/test_notifier_reporter"

module Minitest
  def self.plugin_utils_init(options)
    reporters = Minitest.reporter.reporters
    reporters.clear
    reporters << Minitest::Utils::Reporter.new(options[:io], options)

    return unless defined?(TestNotifier)

    reporters << TestNotifierReporter.new(options[:io], options)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-utils-0.4.7 lib/minitest/utils_plugin.rb
minitest-utils-0.4.6 lib/minitest/utils_plugin.rb
minitest-utils-0.4.5 lib/minitest/utils_plugin.rb