Sha256: fbf5b46fa49fa400507d4374d862d103da19fefc7a8724badc313087ab9bf346

Contents?: true

Size: 626 Bytes

Versions: 35

Compression:

Stored size: 626 Bytes

Contents

require 'test/unit'

require 'test/unit/collector/objectspace'

# Modify the Test::Unit runner in Eclipse, so it only runs our tests
module Test::Unit
  module RDT
    def self.buildSuite filename
      collector = Test::Unit::Collector::ObjectSpace.new 
      collector.filter = Watir::UnitTest.filter
      collector.collect filename
    end
  end
end

# Invoke default test runner so it only runs our tests
at_exit do
  unless $! || Test::Unit.run?
    runner = Test::Unit::AutoRunner.new false
    runner.process_args ARGV
    runner.filters = Watir::UnitTest.filter 
    exit runner.run
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

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