Class: Minitest::Test

Inherits:
Object
  • Object
show all
Defined in:
lib/pry-rescue/minitest.rb

Instance Method Summary collapse

Instance Method Details

#runObject



10
11
12
13
14
15
# File 'lib/pry-rescue/minitest.rb', line 10

def run
  Minitest::Test::PASSTHROUGH_EXCEPTIONS << Exception
  Pry::rescue do
    run_without_rescue
  end
end

#run_without_rescueObject



8
# File 'lib/pry-rescue/minitest.rb', line 8

alias_method :run_without_rescue, :run