module Minitest

Public Class Methods

plugin_sprint_init(options) click to toggle source
# File lib/minitest/sprint_plugin.rb, line 15
def self.plugin_sprint_init options
  case options[:sprint]
  when :rake then
    require "minitest/rake_reporter"
    self.reporter << Minitest::RakeReporter.new(options[:rake_task])
  when :binstub then
    require "minitest/binstub_reporter"
    self.reporter << Minitest::BinstubReporter.new
  end
end