Module: Minitest

Defined in:
lib/minitest/reporters.rb,
lib/minitest/reporters/ansi.rb,
lib/minitest/relative_position.rb,
lib/minitest/reporters/version.rb,
lib/minitest/reporters/base_reporter.rb,
lib/minitest/reporters/html_reporter.rb,
lib/minitest/reporters/spec_reporter.rb,
lib/minitest/minitest_reporter_plugin.rb,
lib/minitest/reporters/junit_reporter.rb,
lib/minitest/reporters/default_reporter.rb,
lib/minitest/extensible_backtrace_filter.rb,
lib/minitest/reporters/progress_reporter.rb,
lib/minitest/reporters/mean_time_reporter.rb,
lib/minitest/reporters/ruby_mate_reporter.rb

Defined Under Namespace

Modules: RelativePosition, Reporters Classes: ExtensibleBacktraceFilter

Class Method Summary collapse

Class Method Details

.plugin_minitest_reporter_init(options)


78
79
80
# File 'lib/minitest/minitest_reporter_plugin.rb', line 78

def plugin_minitest_reporter_init(options)
  reporter.reporters = [Minitest::Reporters::DelegateReporter.new(reporter.reporters, options)]
end