module Maxitest::InterruptHandler

def capture_exceptions(&block)

capture interrupt and treat it as a regular error so we get a backtrace
def capture_exceptions(&block)
  super(&block)
rescue Interrupt => e
  Maxitest.interrupted = true
  failures << Minitest::UnexpectedError.new(e)
end