module Minitest

Public Class Methods

plugin_heat_init(options) click to toggle source
# File lib/minitest/heat_plugin.rb, line 17
def self.plugin_heat_init(options)
  io = options[:io]

  # Clean out the existing reporters.
  self.reporter.reporters = []

  # Use Reviewer as the sole reporter.
  self.reporter << HeatReporter.new(io, options)
end
plugin_heat_options(opts, options) click to toggle source
# File lib/minitest/heat_plugin.rb, line 6
def self.plugin_heat_options(opts, options)
  opts.on '--show-fast', "Show failures as they happen instead of waiting for the entire suite." do
    # Heat.show_fast!
  end

  # TODO options.
  # 1. Fail Fast
  # 2. Don't worry about skips.
  # 3. Skip coverage.
end