Sha256: ce5f56f234d2c692ab7dd078d95d79fa5c5c864e0b7c0dc87ff0aff8acf65e72

Contents?: true

Size: 798 Bytes

Versions: 5

Compression:

Stored size: 798 Bytes

Contents

if defined?(Rails)
  require "sauce/railtie"
else
  require 'tasks/parallel_testing'
end

require 'sauce/version'
require 'sauce/utilities'
require 'sauce/utilities/rake'
require 'sauce/job'
require 'sauce/client'
require 'sauce/config'
require 'sauce/selenium'
require 'sauce/test_base'
require 'sauce/rspec'
require 'sauce/test_unit'
require 'parallel_tests/saucerspec/runner'
require 'parallel_tests/saucecucumber/runner'


# Ruby before 1.9.3-p382 does not handle exit codes correctly when nested
if RUBY_VERSION == "1.9.3" && RUBY_PATCHLEVEL < 392
  module Kernel
    alias :existing_at_exit :at_exit
    def at_exit(&block)
      existing_at_exit do
        exit_status = $!.status if $!.is_a?(SystemExit)
        block.call
        exit exit_status if exit_status
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sauce-3.5.4 lib/sauce.rb
sauce-3.5.3 lib/sauce.rb
sauce-3.5.2 lib/sauce.rb
sauce-3.5.1 lib/sauce.rb
sauce-3.5.0 lib/sauce.rb