Sha256: c7c18102b3eae7dc579e51f3a3f22bfc1e3b2e5ef01663464c3a03159af4b22a

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

require 'pork'
require 'pork/isolate'

module Pork
  module Shuffle
    def shuffle stat=Stat.new, paths=all_tests.values.flatten(1)
      paths.shuffle.each do |p|
        isolate(p, stat)
      end
      stat
    end
  end

  Executor.extend(Shuffle)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pork-1.1.3 lib/pork/mode/shuffle.rb
pork-1.1.2 lib/pork/mode/shuffle.rb
pork-1.1.1 lib/pork/mode/shuffle.rb
pork-1.1.0 lib/pork/mode/shuffle.rb