Sha256: 3250a8b287e2d78f1108e5c6fb0723c83097664e875758d7e7e0da5271c2a3e1

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

require 'pork/auto'

Pork.autorun(false)

at_exit do
  Pork.module_eval do
    execute_mode(ENV['PORK_MODE'])
    trap
    run
    %w[sequential shuffled parallel].each do |mode|
      execute_mode(mode)
      run
    end
    stat.report
    exit stat.failures + stat.errors + ($! && 1).to_i
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pork-1.2.3 lib/pork/test.rb
pork-1.2.2 lib/pork/test.rb
pork-1.2.1 lib/pork/test.rb
pork-1.2.0 lib/pork/test.rb