Module: Minitest

Defined in:
lib/minitest/verify.rb,
lib/minitest/verify_plugin.rb,
lib/minitest/verify/version.rb

Defined Under Namespace

Modules: Verify

Class Method Summary collapse

Class Method Details

.plugin_verify_init(options) ⇒ Object



10
11
12
# File 'lib/minitest/verify_plugin.rb', line 10

def self.plugin_verify_init(options)
  Verify.enabled = options.fetch(:verify, false)
end

.plugin_verify_options(opts, options) ⇒ Object



4
5
6
7
8
# File 'lib/minitest/verify_plugin.rb', line 4

def self.plugin_verify_options(opts, options)
  opts.on "--verify", "Verify tests are not false negatives after running them." do
    options[:verify] = true
  end
end