Sha256: 91ed794c09cd90a2a345e68aa20e07ef5724269bc5c45acc7db289f33b727f42

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

require 'pork/auto'

Pork.autorun(false)
Pork.show_source

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pork-1.3.1 lib/pork/test.rb
pork-1.3.0 lib/pork/test.rb