module Minitest
Public Class Methods
Source
# File lib/minitest/profile_plugin.rb, line 11 def self.plugin_profile_init(options) self.reporter << ProfileReporter.new(options) if options[:profile] end
Source
# File lib/minitest/profile_plugin.rb, line 5 def self.plugin_profile_options(opts, options) opts.on("--profile", "Display list of slowest tests") do |p| options[:profile] = true end end