Sha256: ebe260f04f8130f60ac49ee7bb814835d9ce8d35ff13aad3d06970eedf64066a

Contents?: true

Size: 695 Bytes

Versions: 35

Compression:

Stored size: 695 Bytes

Contents

$myDir.sub!( %r{/cygdrive/(\w)/}, '\1:/' ) # convert from cygwin to dos

require 'watir/options'
Watir.options_file = $suite_options_file = $myDir + '/options.yml' 
require 'unittests/setup/options'
unit_options = Watir::UnitTest::Options.new.execute
require 'unittests/setup/browser'
require 'unittests/setup/filter'
require 'unittests/setup/capture_io_helper'
require 'unittests/setup/watir-unittest'

failure_tag = "fails_on_#{Watir.options[:browser]}".to_sym
case unit_options[:coverage]
  when 'regression'
  Watir::UnitTest.filter_out_tests_tagged failure_tag
  when 'known failures'
  Watir::UnitTest.filter_out do |test|
    !(test.tagged? failure_tag)
  end
end


Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
commonwatir-3.0.0.rc3 unittests/setup/lib.rb
commonwatir-3.0.0.rc2 unittests/setup/lib.rb
commonwatir-3.0.0.rc1 unittests/setup/lib.rb
commonwatir-2.0.4 unittests/setup/lib.rb
commonwatir-2.0.3 unittests/setup/lib.rb
commonwatir-2.0.2 unittests/setup/lib.rb
commonwatir-2.0.2.rc1 unittests/setup/lib.rb
commonwatir-2.0.1 unittests/setup/lib.rb
commonwatir-2.0.0 unittests/setup/lib.rb
commonwatir-2.0.0.rc3 unittests/setup/lib.rb
commonwatir-2.0.0.rc2 unittests/setup/lib.rb
commonwatir-1.9.2 unittests/setup/lib.rb
commonwatir-1.9.2.rc1 unittests/setup/lib.rb
commonwatir-1.9.1 unittests/setup/lib.rb
commonwatir-1.9.1.rc1 unittests/setup/lib.rb
commonwatir-1.9.0 unittests/setup/lib.rb
commonwatir-1.9.0.rc7 unittests/setup/lib.rb
commonwatir-1.9.0.rc6 unittests/setup/lib.rb
commonwatir-1.9.0.rc5 unittests/setup/lib.rb
commonwatir-1.9.0.rc4 unittests/setup/lib.rb