Module: Minitest

Defined in:
lib/minitest/buildkite_collector_plugin.rb

Defined Under Namespace

Classes: Test

Class Method Summary collapse

Class Method Details

.plugin_buildkite_collector_init(options) ⇒ Object



8
9
10
11
12
# File 'lib/minitest/buildkite_collector_plugin.rb', line 8

def self.plugin_buildkite_collector_init(options)
  if defined?(Buildkite::TestCollector::MinitestPlugin) && Buildkite::TestCollector.respond_to?(:uploader)
    self.reporter << Buildkite::TestCollector::MinitestPlugin::Reporter.new(options[:io], options)
  end
end