Sha256: b17dbb717ccec68289894e8d43b3b71585bf9dcec2185fded33c265a12c4e98d

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

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)
    reporters << Minitest::Utils::TestNotifierReporter.new(options[:io], options) if defined?(TestNotifier)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minitest-utils-0.4.4 lib/minitest/utils_plugin.rb
minitest-utils-0.4.3 lib/minitest/utils_plugin.rb
minitest-utils-0.4.2 lib/minitest/utils_plugin.rb
minitest-utils-0.4.1 lib/minitest/utils_plugin.rb
minitest-utils-0.4.0 lib/minitest/utils_plugin.rb
minitest-utils-0.3.1 lib/minitest/utils_plugin.rb