global
def run
def run if Maxitest.interrupted # only things with class `Minitest::Skip` get counted as skips # we need to raise and capture to get a skip with a backtrace skip = begin raise Minitest::Skip, "Maxitest::Interrupted" rescue Minitest::Skip $! end self.failures = [skip] defined?(Minitest::Result) ? Minitest::Result.from(self) : self else run_without_stop end end