Class: Minitest::Test

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

Instance Method Summary collapse

Instance Method Details

#runObject



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

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

#run_without_rescueObject



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

alias_method :run_without_rescue, :run