Skip to content

Instantly share code, notes, and snippets.

@jeremy
Created August 1, 2014 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremy/2ce7566243b2389567b5 to your computer and use it in GitHub Desktop.
Save jeremy/2ce7566243b2389567b5 to your computer and use it in GitHub Desktop.
# CI runs tests in order so it gets nice diffable output.
if ENV['CI']
# Minitest always forces test suites to shuffle. Hack it.
class Minitest::Runnable
class NonShufflingArray < Array
def shuffle
self
end
end
def self.reset
@@runnables = NonShufflingArray.new
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment