class MiniTest::Test
Public Class Methods
runnables=(runnables)
click to toggle source
# File lib/test_queue/runner/minitest5.rb, line 16 def self.runnables= runnables @@runnables = runnables end
Public Instance Methods
_synchronize() { || ... }
click to toggle source
Synchronize all tests, even serial ones.
Minitest runs serial tests before parallel ones to ensure the unsynchronized serial tests don't overlap the parallel tests. But since the test-queue master hands out tests without actually loading their code, there's no way to know which are parallel and which are serial. Synchronizing serial tests does add some overhead, but hopefully this is outweighed by the speed benefits of using test-queue.
# File lib/test_queue/runner/minitest5.rb, line 28 def _synchronize; Test.io_lock.synchronize { yield }; end